Basically godoc.org scans github: http://godoc.org/-/about

The docs that show there are the result of go doc, so it uses some conventions (like narrative docs in a "doc.go" file): http://blog.golang.org/godoc-documenting-go-code