Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Repositories []*Repository `json:"repositories"` Milestones []*Milestone `json:"milestones"` Labels []*Label `json:"labels"` }
Config -
type Label ¶
type Label struct { Name string `json:"name"` Color string `json:"color"` PreviousNames []string `json:"previousNames,omitempty"` State string `json:"state,omitempty"` }
Label -
func NewLabelFromGH ¶
NewLabelFromGH - convert from github data model
func NewLabelsFromGH ¶
NewLabelsFromGH - convert from github data model
type Milestone ¶
type Milestone struct { Title string `json:"title"` State string `json:"state"` Description string `json:"description"` DueOn time.Time `json:"due_on"` PreviousTitles []string `json:"previousTitles,omitempty"` Number int `json:"number,omitempty"` }
Milestone -
func NewMilestoneFromGH ¶
NewMilestoneFromGH - convert from github data model
func NewMilestonesFromGH ¶
NewMilestonesFromGH - convert from github data model
type Repository ¶
Repository -
func (*Repository) FromGH ¶
func (r *Repository) FromGH(repo *github.Repository)
FromGH - convert from github data model
func (*Repository) String ¶
func (r *Repository) String() string
func (*Repository) UnmarshalText ¶
func (r *Repository) UnmarshalText(text []byte) (err error)
UnmarshalText -
Click to show internal directories.
Click to hide internal directories.