Versions in this module Expand all Collapse all v0 v0.4.5 Oct 7, 2018 v0.4.0 Sep 23, 2018 Changes in this version + func SortInputsByName(inputs []Input) + func SortOutputsByName(outputs []Output) + type Doc struct + Comment string + Inputs []Input + Outputs []Output + func Create(files map[string]*ast.File) *Doc + func CreateFromPaths(paths []string) (*Doc, error) + func TestDoc(t testing.T, path string) *Doc + func TestDocFromFile(t testing.T, path string, name string) *Doc + func (d *Doc) HasComment() bool + func (d *Doc) HasInputs() bool + func (d *Doc) HasOutputs() bool + type Input struct + Default *Value + Description string + Name string + Type string + func (i *Input) GetDefault() *Value + func (i *Input) HasDefault() bool + func (i *Input) HasDescription() bool + func (i *Input) IsOptional() bool + func (i *Input) IsRequired() bool + type Output struct + Description string + Name string + func (o *Output) HasDescription() bool + type Value struct + Type string + Value interface{}