Versions in this module Expand all Collapse all v1 v1.5.3 Apr 7, 2019 Changes in this version + type Expression struct + IsStar bool + IsVariadic bool + IsWriter bool + Underlying string + Value string + func (e *Expression) String() string + type Field struct + Index int + Name string + Type *Expression + func (f *Field) IsBasicType() bool + func (f *Field) IsNamed() bool + func (f *Field) IsStruct() bool + func (f *Field) IsWriter() bool + func (f *Field) ShortName() string + type Function struct + IsExported bool + Name string + Parameters []*Field + Receiver *Receiver + Results []*Field + ReturnsError bool + func (f *Function) FullName() string + func (f *Function) IsNaked() bool + func (f *Function) OnlyReturnsError() bool + func (f *Function) OnlyReturnsOneValue() bool + func (f *Function) ReturnsMultiple() bool + func (f *Function) TestName() string + func (f *Function) TestParameters() []*Field + func (f *Function) TestResults() []*Field + type Header struct + Code []byte + Comments []string + Imports []*Import + Package string + type Import struct + Name string + Path string + type Path string + func (p Path) IsTestPath() bool + func (p Path) TestPath() string + type Receiver struct + Fields []*Field