Created
January 5, 2015 20:53
-
-
Save ailabs-software/7af336547817efbcb430 to your computer and use it in GitHub Desktop.
Have to try this.
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 MyResponseWriter struct | |
| { | |
| http.ResponseWriter; | |
| StatusCode int; | |
| } | |
| func (srw MyResponseWriter) Write(b []byte) (int, error) { | |
| // How can I call the embedded method Write() method of http.ResponseWriter | |
| return 0, nil; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment