Documentation ¶
Index ¶
- Constants
- Variables
- func CronMopher(ctx context.Context, cronString string, config MopherConfig) error
- func Mopher(config MopherConfig) error
- func SendHttpPost(endpoint string, message string) error
- type InverseIndexModRef
- type LatestCommitInfo
- type MopherConfig
- type Parsed
- func (this *Parsed) GetRecommendedUpdateOrder() (result []string, err error)
- func (this *Parsed) PrintDependencyVersionWarnings() (deprecated []string, err error)
- func (this *Parsed) PrintDependents(dep string) error
- func (this *Parsed) PrintGoVersionWarnings() (deprecated []string, err error)
- func (this *Parsed) PrintUnsincBranches() (deprecated []string, err error)
- func (this *Parsed) PrintUpdateOrder(filter map[string]bool) error
- func (this *Parsed) PrintVersionWarningsForDependency(dep string) (dependent []string, err error)
- func (this *Parsed) PrintWarnings(warnUnsyncDev bool) error
- func (this *Parsed) PrintWrongModuleNameWarnings() (deprecated []string, err error)
- func (this *Parsed) SetOutput(output io.Writer)
- func (this *Parsed) StoreGraph(outputFile string, verbose bool) error
- type PreOutputHookFunction
- type TagResult
- type TagStruct
- type TextNode
- type UpdateModeCommand
- type VersionUsageRef
Constants ¶
View Source
const GithubRawUrl = "https://raw.githubusercontent.com/"
View Source
const GithubUrl = "github.com"
Variables ¶
View Source
var ErrModfileNotFound = errors.New("no go.mod file in root of default branch of the repository")
View Source
var LatestInfoError = errors.New("LatestInfoError")
Functions ¶
func CronMopher ¶
func CronMopher(ctx context.Context, cronString string, config MopherConfig) error
func Mopher ¶
func Mopher(config MopherConfig) error
func SendHttpPost ¶
Types ¶
type InverseIndexModRef ¶
type LatestCommitInfo ¶
type MopherConfig ¶
type Parsed ¶
type Parsed struct { Repos []*github.Repository Modules map[string]*modfile.File Inverse map[string][]InverseIndexModRef Latest map[string]LatestCommitInfo // contains filtered or unexported fields }
func (*Parsed) GetRecommendedUpdateOrder ¶
func (*Parsed) PrintDependencyVersionWarnings ¶
func (*Parsed) PrintDependents ¶
func (*Parsed) PrintGoVersionWarnings ¶
func (*Parsed) PrintUnsincBranches ¶
func (*Parsed) PrintUpdateOrder ¶
func (*Parsed) PrintVersionWarningsForDependency ¶
func (*Parsed) PrintWarnings ¶
func (*Parsed) PrintWrongModuleNameWarnings ¶
type PreOutputHookFunction ¶
type PreOutputHookFunction = func(warnings string) (changedWarnings string, shouldBeWritenToOutput bool)
func GetDistinctHook ¶
func GetDistinctHook() PreOutputHookFunction
type TextNode ¶
func NewTextNode ¶
type UpdateModeCommand ¶ added in v0.0.3
func RunUpdateMode ¶ added in v0.0.3
func RunUpdateMode(mod *modfile.File) (commands []UpdateModeCommand, err error)
type VersionUsageRef ¶
Click to show internal directories.
Click to hide internal directories.