Godoc: documenting Go code - The Go Programming Language

How and why to document your Go packages.