mod

package
v0.0.0-...-a3c17cd Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: MIT Imports: 3 Imported by: 0

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 NewModInfo(modContent []byte) *ModInfo

func (*ModInfo) Type

func (inf *ModInfo) Type(path string) ImportType

type ModInfos

type ModInfos interface {
	Type(path string) ImportType
}

Jump to

Keyboard shortcuts

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