Documentation ¶
Index ¶
- func GetDependenciesGraph(projectDir string) (map[string][]string, error)
- func GetDependenciesList(projectDir string) (map[string]bool, error)
- func GetGoModCachePath() (string, error)
- func GetModuleName(projectDir string) (string, error)
- func GetProjectRoot() (string, error)
- func LogGoVersion() error
- type GoCmdConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDependenciesGraph ¶
func GetGoModCachePath ¶
func GetModuleName ¶
func GetProjectRoot ¶
func LogGoVersion ¶
func LogGoVersion() error
Types ¶
type GoCmdConfig ¶ added in v2.7.4
type GoCmdConfig struct { Go string Command []string CommandFlags []string Dir string StrWriter io.WriteCloser ErrWriter io.WriteCloser }
func NewGoCmdConfig ¶ added in v2.7.4
func NewGoCmdConfig() (*GoCmdConfig, error)
func (*GoCmdConfig) GetCmd ¶ added in v2.7.4
func (config *GoCmdConfig) GetCmd() (cmd *exec.Cmd)
func (*GoCmdConfig) GetEnv ¶ added in v2.7.4
func (config *GoCmdConfig) GetEnv() map[string]string
func (*GoCmdConfig) GetErrWriter ¶ added in v2.7.4
func (config *GoCmdConfig) GetErrWriter() io.WriteCloser
func (*GoCmdConfig) GetStdWriter ¶ added in v2.7.4
func (config *GoCmdConfig) GetStdWriter() io.WriteCloser
Click to show internal directories.
Click to hide internal directories.