Skip to content

Glossary: Go Basics

Doc comment

Also written: doc comments

A comment directly above an exported name, by convention starting with that name. `go doc` displays it.

Where the book teaches it

Related terms

go doc