Go Tutorials & Examples
Learn Go programming by example. GOSAMPLES is a library of Go tutorials and examples that helps you solve everyday code problems.
Learn how to decode Base64 data to a string using encoding/base64 package
base64
encoding
strings
Learn how to encode strings to Base64 using encoding/base64 package
base64
encoding
strings
Learn how to detect the ‘broken pipe’ error when writing an HTTP response
http
errors
Learn how to satisfy io.Reader interface using byte slice
introduction
slice