Thanks everyone for posting.
I poked my head around the standard library in search of comments,
and the only file I found so far that uses --- lines:

https://golang.org/src/go/ast/ast.go

... which is used to separate sections.

// ----------------------------------------------------------------------------
// Interfaces
//




The most widespread use of the concept of "headers" is google's copyright 
signature.
Seems clean enough the way it is.

In fact, I think a lot of the go source code is very readable, as is.

=)


-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to