Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImportTracker ¶
type ImportTracker interface { AddType(o gengotypes.TypeName) LocalNameOf(packagePath string) string PathOf(localName string) (string, bool) Imports() map[string]string }
func NewDefaultImportTracker ¶
func NewDefaultImportTracker() ImportTracker
type NameSystems ¶
type Namer ¶
type Namer interface {
Name(gengotypes.TypeName) string
}
func NewRawNamer ¶
func NewRawNamer(pkgPath string, tracker ImportTracker) Namer
type Names ¶
type Names map[gengotypes.TypeName]string
Click to show internal directories.
Click to hide internal directories.