impt

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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