Anything I didn't know about golang and is somehow special to golang for me with programming background in Java, Python, Groovy, C, C++ and misc other programming languages
Maybe it helps others starting to use golang :-)
- acceptLanguage - Sample using golang.org/x/text/language to select the correct language from HTTP Accept-Language
- broadcastChan - Sample how to implement simple broadcasts
- compareMaps -Typical pitfall when comparing map elements
- copyStructs - Sample code using github.com/jinzhu/copier to copy structs
- debugHTTPClient - Sample code which uses httputil to get low level debugging of http clients
- errorMarshaling - Sample code hoe marshaling of errors works
- fetchUrls - Use gofuncs to execute get requests against a number of urls and calculate responsetime statistics
- github - Retrieve all public repositories of a github organization with a home grown client or a client using the google go-github library
- gorohttp - Simple sample code how to kick off http requests as fast as possible
- httpStress - More complex sample code how to kick off http requests as fast as possible
- httpClient - Sample how to use timeouts in a httpClient
- i18n - Sample code using github.com/nicksnyder/go-i18n/i18n to enable localization
- jsonMarshalling - Print the different marshal/unmarshal results of different structures into/from JSON
- logging - Sample code using go.uber.org/zap to create structured logs and use log hooks
- pointers - Sample code to demonstrate a common error using pointers in golang when you are used to use C or C++
- pollURLs - Golang pollURL sample code
- sigTerm - Catch SIGTERM or SIGINT to gracefully shutdown program
- templates - Sample code using golang /text/template
- utils
- json.go - pretty print JSON
- waitGroupTimeout - Sample which implements a waitGroup which can timeout