Documentation ¶
Index ¶
- Constants
- type Ident
- type IdentList
- func (i IdentList) IdentString(identPrefix IdentType, resolveLambda bool) (res string)
- func (i IdentList) IdentWithTypeString(identPrefix IdentType) (res string)
- func (i IdentList) IdentWithTypeStringAndPrefix(identPrefix IdentType, prefix string) (res string)
- func (i IdentList) TypeString(identPrefix IdentType) (res string)
- type IdentType
- type Import
- type InterfaceResult
- type Method
- type Reference
- type TypesList
Constants ¶
View Source
const ( MockPackageSuffix = "_mock" MockDir = "mocks" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdentList ¶
type IdentList []Ident
func (IdentList) IdentString ¶
func (IdentList) IdentWithTypeString ¶
func (IdentList) IdentWithTypeStringAndPrefix ¶
func (IdentList) TypeString ¶
type Import ¶
func ImportFromAst ¶
func ImportFromAst(spec *ast.ImportSpec) Import
func (Import) ImportName ¶
type InterfaceResult ¶
type InterfaceResult struct { Name string PackageName string Imports []Import Methods []Method Types TypesList }
func (InterfaceResult) ValidateReadyForGenerate ¶
func (ir InterfaceResult) ValidateReadyForGenerate() error
ValidateReadyForGenerate that all members are set and valid
type Method ¶
func (Method) SignatureWithoutIdentifier ¶
Click to show internal directories.
Click to hide internal directories.