Skip to content

Latest commit

 

History

History
15 lines (10 loc) · 870 Bytes

DOCUMENTING.md

File metadata and controls

15 lines (10 loc) · 870 Bytes

Documenting

You can store documentation in three different places (README.md, doc.go, GOlang comments)

Description Visibility
README.md High level information about packages with images visible while browsing repository
doc.go Detailed information about the GO package (usually with source code snippets) visible in godoc
Comments Function/Type documentation in GO code

For more information, check out the book:

Code Complete 2nd edition