Last active
September 20, 2020 07:25
-
-
Save shubhag/bbe4af5b8ead1a8bdb08fddb3949b9bc to your computer and use it in GitHub Desktop.
Custom io.Writer iteration 1
This file contains 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 customWriter struct { | |
} | |
func (e customWriter) Write(p []byte) (int, error) { | |
// implement the functionality | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment