Documentation ¶
Index ¶
- type Import
- func (i *Import) AddModule(name string)
- func (i *Import) AddModuleWithAlias(name, alias string)
- func (i *Import) AddTypeModule(name string)
- func (i *Import) AddTypeModuleWithAlias(name, alias string)
- func (i *Import) Alias(name string) string
- func (i *Import) Default() string
- func (i *Import) IsType(name string) bool
- func (i *Import) Location() string
- func (i *Import) Modules() []string
- func (i *Import) SetDefault(v string)
- func (i *Import) String() string
- type Imports
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Import ¶
type Import struct {
// contains filtered or unexported fields
}
func (*Import) AddModuleWithAlias ¶
func (*Import) AddTypeModule ¶
func (*Import) AddTypeModuleWithAlias ¶
func (*Import) SetDefault ¶
Click to show internal directories.
Click to hide internal directories.