Documentation
¶
Index ¶
- Variables
- type Component
- type Language
- type Module
- func (t *Module) LoadCache() bool
- func (t *Module) Logging(wc *WarnCondition) error
- func (t *Module) OrgAndRepo() (string, string, error)
- func (t *Module) StoreCache()
- func (t *Module) SyncWithGitHub(ctx context.Context, cli *github.Client) *Module
- func (m *Module) SyncWithGopkg(ctx context.Context, cli *gopkg.Client) *Module
- func (m *Module) SyncWithNPM(ctx context.Context, cli *npm.Client) *Module
- type WarnCondition
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultWarnCondition = WarnCondition{ IfArchived: true, RecentDays: 180, }
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component interface {
Logging(wc *WarnCondition) error
LoadCache() bool
StoreCache()
}
type Language ¶
func (*Language) Logging ¶
func (t *Language) Logging(wc *WarnCondition) error
func (*Language) StoreCache ¶ added in v0.1.1
func (t *Language) StoreCache()
type Module ¶
type Module struct {
Name string
Archived bool
LastPush time.Time
GHOrg string
GHRepo string
Err error
}
func (*Module) Logging ¶
func (t *Module) Logging(wc *WarnCondition) error
func (*Module) StoreCache ¶ added in v0.1.1
func (t *Module) StoreCache()
func (*Module) SyncWithGitHub ¶
func (*Module) SyncWithGopkg ¶
type WarnCondition ¶
Click to show internal directories.
Click to hide internal directories.