Documentation
¶
Index ¶
- Variables
- type Component
- type Language
- type Module
- func (t *Module) Logging(w io.Writer, wc *WarnCondition) error
- func (t *Module) OrgAndRepo() (string, string, error)
- 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
- func (t *Module) UseCache() (*Module, bool)
- type WarnCondition
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultWarnCondition = WarnCondition{ IfArchived: true, RecentDays: 180, }
Functions ¶
This section is empty.
Types ¶
type Module ¶
type Module struct {
Name string
Archived bool
LastPush time.Time
GHOrg string
GHRepo string
Err error
}
func (*Module) SyncWithGitHub ¶
func (*Module) SyncWithGopkg ¶
func (*Module) SyncWithNPM ¶
type WarnCondition ¶
Click to show internal directories.
Click to hide internal directories.