Go blueprints: code for common tasks

yourbasic.org/golang

These code examples are intended to help you quickly solve some common everyday tasks in Go. There are also a few oddities that may be nice to have when writing more exotic code.

Further reading

See the String handling cheat sheet for all about basic string manipulation in Go.