Documentation
¶
Index ¶
- func AddMissingPackage(code string, pkgName string) string
- func ExtractConstants(fileName string, content string) (map[string]string, error)
- func Parse(file string) (code []byte, ast *ast.File, fset *token.FileSet, err error)
- func ParseFileCode(file string, code []byte) (ast *ast.File, fset *token.FileSet, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMissingPackage ¶
func ExtractConstants ¶ added in v1.1.0
ExtractConstants extracts constants from a go file either fileName or content is required
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.