Documentation ¶ Index ¶ func GetImportStr(imports []Impt) string type Impt func GetUsedImports(imports []Impt, n ast.Node) []Impt func LoadImports(file *ast.File) []Impt func (i Impt) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetImportStr ¶ func GetImportStr(imports []Impt) string Types ¶ type Impt ¶ type Impt struct { Name string NameWithQuotes string Alias string } func GetUsedImports ¶ func GetUsedImports(imports []Impt, n ast.Node) []Impt func LoadImports ¶ func LoadImports(file *ast.File) []Impt func (Impt) String ¶ func (i Impt) String() string Source Files ¶ View all Source files get_import_str.go get_used_imports.go load_imports.go string.go types.go Click to show internal directories. Click to hide internal directories.