Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoNewerCommit = errors.New("no newer commit") )
Functions ¶
Types ¶
type Option ¶
type Option struct { // inclucive Since time.Time `json:"since"` // inclucive Until time.Time `json:"until"` IgnorePattern *regexp.Regexp `json:"ignorePattern"` StartTimerFunc func(string) `json:"-"` StopTimerFunc func(string) `json:"-"` }
func (*Option) StartTimer ¶
type Release ¶
type Release struct { Tag string `json:"tag"` Date time.Time `json:"date"` LeadTimeForChanges time.Duration `json:"leadTimeForChanges"` Result ReleaseResult `json:"result"` }
func QueryReleases ¶
QueryReleases returns Releases sorted by date (first item is the oldest and last item is the newest)
type ReleaseResult ¶
func (ReleaseResult) Equal ¶
func (r ReleaseResult) Equal(another ReleaseResult) bool
func (ReleaseResult) String ¶
func (r ReleaseResult) String() string
type ReleaseSource ¶
type ReleaseSource struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.