Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StakeError ¶
func StakeError(err error)
func WalkRepo ¶
func WalkRepo(repo *git.Repository, output StakeOutput)
Types ¶
type StakeAuthor ¶
func (*StakeAuthor) String ¶
func (sa *StakeAuthor) String() string
type StakeAuthors ¶
type StakeAuthors map[string]*StakeAuthor
func (StakeAuthors) AddAuthorFromSignature ¶
func (sa StakeAuthors) AddAuthorFromSignature(signature *git.Signature)
func (StakeAuthors) Perform ¶
func (sa StakeAuthors) Perform(commit *git.Commit)
type StakeHTMLOutput ¶
type StakeHTMLOutput struct {
// contains filtered or unexported fields
}
**********
- HTML *********
type StakeJSONOutput ¶
type StakeJSONOutput struct {
// contains filtered or unexported fields
}
**********
- JSON *********
type StakeOutput ¶
type StakeOutput interface {
// contains filtered or unexported methods
}
Interface
func GetStakeOutput ¶
func GetStakeOutput(arg string) StakeOutput
type StakeRepository ¶
type StakeRepository struct { Start_date time.Time End_date time.Time /* Commits */ Total_commits int Year_commits map[int]int Month_commits map[time.Month]int }
func NewStakeRepository ¶
func NewStakeRepository() *StakeRepository
func (*StakeRepository) Perform ¶
func (sc *StakeRepository) Perform(commit *git.Commit)
func (*StakeRepository) String ¶
func (sc *StakeRepository) String() string
Click to show internal directories.
Click to hide internal directories.