Documentation ¶
Index ¶
- func CreateField(name string, fieldType ast.Expr) *ast.Field
- func EachDeclarationInFile(file *ast.File) <-chan ast.Decl
- func EachFieldInFieldList(fieldList *ast.FieldList) <-chan *ast.Field
- func EachGenericDeclarationInFile(file *ast.File) <-chan *ast.GenDecl
- func EachSpecificationInGenericDeclaration(decl *ast.GenDecl) <-chan ast.Spec
- func EachTypeSpecificationInFile(file *ast.File) <-chan *ast.TypeSpec
- func EachTypeSpecificationInGenericDeclaration(decl *ast.GenDecl) <-chan *ast.TypeSpec
- func FieldTypeReuseCount(field *ast.Field) int
- func FieldsWithoutEllipsis(fields []*ast.Field) []*ast.Field
- func ImportToDir(imp string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FieldTypeReuseCount ¶
func ImportToDir ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.