internal

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateField

func CreateField(name string, fieldType ast.Expr) *ast.Field

func EachDeclarationInFile

func EachDeclarationInFile(file *ast.File) <-chan ast.Decl

func EachFieldInFieldList

func EachFieldInFieldList(fieldList *ast.FieldList) <-chan *ast.Field

func EachGenericDeclarationInFile

func EachGenericDeclarationInFile(file *ast.File) <-chan *ast.GenDecl

func EachSpecificationInGenericDeclaration

func EachSpecificationInGenericDeclaration(decl *ast.GenDecl) <-chan ast.Spec

func EachTypeSpecificationInFile

func EachTypeSpecificationInFile(file *ast.File) <-chan *ast.TypeSpec

func EachTypeSpecificationInGenericDeclaration

func EachTypeSpecificationInGenericDeclaration(decl *ast.GenDecl) <-chan *ast.TypeSpec

func FieldTypeReuseCount

func FieldTypeReuseCount(field *ast.Field) int

func FieldsWithoutEllipsis

func FieldsWithoutEllipsis(fields []*ast.Field) []*ast.Field

func ImportToDir

func ImportToDir(imp string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL