Created
June 10, 2014 04:18
-
-
Save michaeljs1990/d2a3df93b35eea52ddd1 to your computer and use it in GitHub Desktop.
Go Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Handler struct { | |
pat string | |
http.Handler | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
More on how the http.Handler works in this struct look at http://golang.org/doc/effective_go.html#embedding