Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Impt ¶
type Impt struct { // Full import path declared in import, // eg "go/ast" FullName string // Name of imported package, after last / of import path, // eg "ast" from `import "go/ast"` Name string // Optional alias variable before the import, // eg myalias from `import myalias "go/ast"` Alias string }
Import
func GetUsedImportsStr ¶
Get imports referenced in a string - not reliable
Click to show internal directories.
Click to hide internal directories.