Documentation ¶
Index ¶
- Variables
- type Decoder
- type JSONOutput
- type Mod
- func (m *Mod) GetMetadata() plugin.Metadata
- func (m *Mod) GetRootModule(path string) (*meta.Package, error)
- func (m *Mod) GetVersion() (string, error)
- func (m *Mod) HasModulesInstalled(path string) error
- func (m *Mod) IsValid(path string) bool
- func (m *Mod) ListModulesWithDeps(path string, globalSettingFile string) ([]meta.Package, error)
- func (m *Mod) ListUsedModules(path string) ([]meta.Package, error)
- func (m *Mod) SetRootModule(path string) error
- type Module
Constants ¶
This section is empty.
Variables ¶
View Source
var ( VersionCmd command = "go version" RootModuleCmd command = "go list -mod readonly -json -m" ModulesCmd command = "go list -deps -json ./..." GraphModuleCmd command = "go mod graph" )
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
Decoder
func (*Decoder) ConvertJSONReaderToModules ¶
ConvertJSONReaderToModules ...
func (*Decoder) ConvertJSONReaderToSingleModule ¶
ConvertJSONReaderToSingleModule ...
type JSONOutput ¶
type Mod ¶
type Mod struct {
// contains filtered or unexported fields
}
func (*Mod) GetRootModule ¶
GetRootModule...
func (*Mod) HasModulesInstalled ¶
HasModulesInstalled ...
func (*Mod) ListModulesWithDeps ¶
ListModulesWithDeps ...
func (*Mod) ListUsedModules ¶
ListUsedModules...
Click to show internal directories.
Click to hide internal directories.