Documentation ¶
Index ¶
- Constants
- func AppendVersion(path, ver string) string
- func Config(m ModeType, goModopt GoModulesOptions, githubOpt GitHubOptions) error
- func ExtractVersion(path string) (newpath, ver string)
- func FileExists(fs afero.Fs, filename string, isDir bool) bool
- type DependencyManager
- type GitHubOptions
- type GoModulesOptions
- type Mode
- type ModeType
- type Module
- type Modules
- type NotFoundError
- type RateLimitError
Constants ¶
View Source
const MasterBranch = "master"
View Source
const SHALength = 12
Variables ¶
This section is empty.
Functions ¶
func AppendVersion ¶
func Config ¶
func Config(m ModeType, goModopt GoModulesOptions, githubOpt GitHubOptions) error
func ExtractVersion ¶
Types ¶
type DependencyManager ¶
type GitHubOptions ¶ added in v0.0.19
type GoModulesOptions ¶ added in v0.0.19
type Module ¶
type Module struct { // The name of module joined by forward slash(/). e.g. "github.com/anz-bank/foo" Name string // The absolute path to the module. // e.g. "/Users/username/go/pkg/mod/github.com/anz-bank/foo@v1.1.0" on Linux and macOS // "C:\Users\username\go\pkg\mod\github.com\anz-bank\foo@v1.1.0" on Windows Dir string // The version of the module. e.g. "v1.1.0" Version string }
type NotFoundError ¶ added in v0.0.17
type NotFoundError struct {
Message string
}
func (*NotFoundError) Error ¶ added in v0.0.17
func (e *NotFoundError) Error() string
type RateLimitError ¶ added in v0.0.17
type RateLimitError = github.RateLimitError
Click to show internal directories.
Click to hide internal directories.