Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Go Example
type Handler struct {
pat string
http.Handler
}
@michaeljs1990

This comment has been minimized.

Copy link
Owner Author

michaeljs1990 commented Jun 12, 2014

More on how the http.Handler works in this struct look at http://golang.org/doc/effective_go.html#embedding

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.