Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrStatusNotOK = errors.New("status not ok") ErrLoadingModule = errors.New("loading module") )
Functions ¶
Types ¶
type Fetcher ¶
type Fetcher struct {
// contains filtered or unexported fields
}
func NewFetcher ¶
func NewFetcher() *Fetcher
func NewFetcherWithClient ¶
func NewFetcherWithClient(client HTTPClient) *Fetcher
type GoListLoader ¶
type GoListLoader struct{}
GoListLoader requires go list command.
func (*GoListLoader) Load ¶
func (*GoListLoader) Load() (Modules, error)
type GoModLoader ¶
type GoModLoader struct{}
GoModLoader requires go.mod file.
func (*GoModLoader) Load ¶
func (*GoModLoader) Load() (Modules, error)
type Module ¶
Click to show internal directories.
Click to hide internal directories.