Documentation ¶
Index ¶
Constants ¶
View Source
const ( ImportTypeUnknown = "" ImportTypeStdLib = "STD" ImportTypePkg = "PKG" ImportTypeReq = "REQ" ImportTypeCgo = "CGO" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImportType ¶
type ImportType string
type ModInfo ¶
type ModInfo struct {
// contains filtered or unexported fields
}
func NewModInfo ¶
func (*ModInfo) Type ¶
func (inf *ModInfo) Type(path string) ImportType
type ModInfos ¶
type ModInfos interface {
Type(path string) ImportType
}
Click to show internal directories.
Click to hide internal directories.