Versions in this module Expand all Collapse all v0 v0.1.7 Feb 11, 2021 v0.1.6 Feb 11, 2021 Changes in this version + func GetAllModulePaths(workspaceRoot string) map[string]string + func SetupModule(mod Module) + func WriteModuleFile(modulePath string, deps []Dependency) + type Dependency struct + URL string + Version string + func ReadModuleFile(modulePath string) []Dependency + func (d Dependency) ModuleName() string + type GitModule struct + func (m GitModule) CheckedOutVersions() []string + func (m GitModule) CheckoutVersion(version string) + func (m GitModule) Fetch() bool + func (m GitModule) HasOrigin(url string) bool + func (m GitModule) HasVersionCheckedOut(version string) bool + func (m GitModule) IsDirty() bool + func (m GitModule) Name() string + func (m GitModule) Path() string + type Module interface + CheckedOutVersions func() []string + CheckoutVersion func(version string) + Fetch func() bool + HasOrigin func(string) bool + HasVersionCheckedOut func(version string) bool + IsDirty func() bool + Name func() string + Path func() string + func CreateGitModule(modulePath, url string) Module + func CreateTarModule(modulePath, url string) Module + func OpenModule(modulePath string) Module + func OpenOrCreateModule(modulePath string, url string) Module + type TarModule struct + func (m TarModule) CheckedOutVersions() []string + func (m TarModule) CheckoutVersion(version string) + func (m TarModule) Fetch() bool + func (m TarModule) HasOrigin(url string) bool + func (m TarModule) HasVersionCheckedOut(version string) bool + func (m TarModule) IsDirty() bool + func (m TarModule) Name() string + func (m TarModule) Path() string