Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImportList ¶
type ImportList []string
ImportList of imports
func (ImportList) Format ¶
func (l ImportList) Format() []byte
Format the set into Go syntax (compatible with go imports)
func (ImportList) GetSorted ¶
func (l ImportList) GetSorted() (ImportList, ImportList)
func (ImportList) Less ¶
func (l ImportList) Less(i, j int) bool
Less implements sort.Interface.Less
type Importer ¶
type Importer interface {
Import(...string) string
ImportList(list ImportList) string
ToList() ImportList
}
Click to show internal directories.
Click to hide internal directories.