Documentation ¶
Index ¶
- type Expression
- type Field
- type Function
- 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
- type Import
- type Path
- type Receiver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Expression ¶
func (*Expression) String ¶
func (e *Expression) String() string
type Field ¶
type Field struct { Name string Type *Expression Index int }
func (*Field) IsBasicType ¶
type Function ¶
type Function struct { Name string IsExported bool Receiver *Receiver Parameters []*Field Results []*Field ReturnsError bool }
func (*Function) OnlyReturnsError ¶
func (*Function) OnlyReturnsOneValue ¶
func (*Function) ReturnsMultiple ¶
func (*Function) TestParameters ¶
func (*Function) TestResults ¶
Click to show internal directories.
Click to hide internal directories.