Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDirectory ¶
IsDirectory reports whether the named file is a directory.
Types ¶
type File ¶
type File struct { Pkg *Package // Package to which this file belongs. File *ast.File // Parsed AST. // These fields are reset for each type being generated. // typeName string // Name of the constant type. Types []*ast.TypeSpec Constants []*ast.GenDecl Funcs []*ast.FuncDecl StructTypes []string // Names of the constant values. // contains filtered or unexported fields }
type Package ¶
func (*Package) GetConstants ¶
Click to show internal directories.
Click to hide internal directories.