clipperhouse / gen

Type-driven code generation for Go
http://clipperhouse.com/gen/overview/
Other
1.43k stars 90 forks source link

Annotations showing up in Godoc #91

Closed alapidas closed 9 years ago

alapidas commented 9 years ago

How do I get an annotation to not show up in godoc? For example,

// +gen set
type MyType struct {}

will cause the words "+gen set" to show up in the godoc description for MyType.

Thanks!

clipperhouse commented 9 years ago

I don’t know a way to do this, short of hacking Godoc itself. gen’s annotations are comments on the type, like other docs.