{"modulePath":"github.com/micnncim/github-sprinter","version":"v0.0.0-20190406054839-d0f8027cc12b","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package github_sprinter\n\n## Types\n\n```go\ntype Duration string\n```\n\n```go\nfunc (d Duration) Parse() (time.Duration, error)\n```\n\n```go\ntype Ignore struct {\n\tTerms    []*Term   `yaml:\"terms\"`\n\tWeekdays []Weekday `yaml:\"edge_weekdays\"`\n}\n```\n\n```go\nfunc (i *Ignore) OmitIgnored(startOn, dueOn time.Time, duration time.Duration) (validStartOn, validDueOn time.Time, err error)\n```\n\n```go\ntype Issue struct {\n\tTitle string\n\tURL   string\n}\n```\n\n```go\ntype IssueService service\n```\n\n```go\nfunc (s *IssueService) ListByMilestone(ctx context.Context, owner, repo string, milestone *Milestone) ([]*Issue, error)\n```\n\n```go\ntype Manifest struct {\n\tSprint *Sprint `yaml:\"sprint\"`\n\tRepos  []*Repo `yaml:\"repos\"`\n}\n```\n\n```go\ntype Milestone struct {\n\tNumber      int\n\tSID         int // Sprint ID\n\tTitle       string\n\tState       string\n\tDescription string\n\tStartOn     string\n\tDueOn       string\n}\n```\n\n```go\nfunc NewMilestone(sid int, titleFmt string, startOn, dueOn time.Time) (*Milestone, error)\n```\n\n```go\nfunc (m *Milestone) ParseDate() (startOn, dueOn time.Time, err error)\n```\n\n```go\ntype MilestoneService service\n```\n\n```go\nfunc (s *MilestoneService) Create(ctx context.Context, owner, repo string, milestone *Milestone) error\n```\n\n```go\nfunc (s *MilestoneService) Delete(ctx context.Context, owner, repo string, milestone *Milestone) error\n```\n\n```go\nfunc (s *MilestoneService) List(ctx context.Context, owner, repo string) ([]*Milestone, error)\n```\n\n```go\ntype Repo struct {\n\tName string `yaml:\"name\"`\n}\n```\n\n```go\ntype Sprint struct {\n\tTitleFormat string   `yaml:\"title_format\"`\n\tDuration    Duration `yaml:\"duration\"`\n\tTerms       []*Term  `yaml:\"terms\"`\n\tIgnore      *Ignore  `yaml:\"ignore\"`\n}\n```\n\n```go\nfunc (s *Sprint) GenerateMilestones() ([]*Milestone, error)\n```\n\n```go\ntype Sprinter struct {\n\tManifest *Manifest\n\t// contains filtered or unexported fields\n}\n```\n\n```go\nfunc NewSprinter(ctx context.Context, configPath string, dryRun, update bool) (*Sprinter, error)\n```\n\n```go\nfunc (s *Sprinter) ApplyManifest(ctx context.Context, repository *Repo) error\n```\n\n```go\ntype Term struct {\n\tStartOn string `yaml:\"start_on\"`\n\tDueOn   string `yaml:\"due_on\"`\n}\n```\n\n```go\nfunc (t *Term) Parse() (startOn, dueOn time.Time, err error)\n```\n\n```go\ntype Weekday string\n```\n\n```go\nfunc (w Weekday) Parse() time.Weekday\n```\n\n","path":"github.com/micnncim/github-sprinter","name":"github_sprinter","synopsis":"","isRedistributable":true}
