Documentation ¶
Index ¶
- func GetCachePath() (string, error)
- func GetDependenciesGraph(projectDir string) (map[string][]string, error)
- func GetDependenciesList(projectDir string) (map[string]bool, error)
- func GetGoModCachePath() (string, error)
- func GetGoVersion() (string, error)
- func GetModuleName(projectDir string) (string, error)
- func GetProjectRoot() (string, error)
- func LogGoVersion() error
- type Cmd
- type Dependency
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCachePath ¶
func GetDependenciesGraph ¶
func GetGoModCachePath ¶
func GetGoVersion ¶
func GetModuleName ¶
func GetProjectRoot ¶
func LogGoVersion ¶
func LogGoVersion() error
Types ¶
type Cmd ¶
type Cmd struct { Go string Command []string CommandFlags []string Dir string StrWriter io.WriteCloser ErrWriter io.WriteCloser }
func (*Cmd) GetErrWriter ¶
func (config *Cmd) GetErrWriter() io.WriteCloser
func (*Cmd) GetStdWriter ¶
func (config *Cmd) GetStdWriter() io.WriteCloser
type Dependency ¶
type Dependency struct { Name string Version string Scopes []string FileType string Checksum *buildinfo.Checksum PathToRoot [][]string }
func (*Dependency) GetPathToRoot ¶
func (dep *Dependency) GetPathToRoot() [][]string
Click to show internal directories.
Click to hide internal directories.