Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunDocFinder ¶
Types ¶
type DocFinder ¶
func (*DocFinder) ProcessFields ¶
func (d *DocFinder) ProcessFields(st *FieldAndDoc, x *ast.StructType)
type FieldAndDoc ¶
FieldAndDoc structure is intended to name a structure and then list out field names and doc comments for those fields.
func NewFieldAndDoc ¶
func NewFieldAndDoc(name string) *FieldAndDoc
NewFieldAndDoc creates a new FieldAndDoc instance with the given name.
func (*FieldAndDoc) Add ¶
func (f *FieldAndDoc) Add(field string, doc ...string)
Add fills in the FieldDoc member with key value pairs where the key is the name of the field and the value is the associated documentation string.
Click to show internal directories.
Click to hide internal directories.