Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MailConfig ¶
type MailConfig struct { Identity string Host string Port string Username string Password string TLS bool }
MailConfig holds information about Email configurations
type ProjectSorter ¶
ProjectSorter holds an array of projects
func (*ProjectSorter) Len ¶
func (ps *ProjectSorter) Len() int
Len returns the length of array in ProjectSorter
func (*ProjectSorter) Less ¶
func (ps *ProjectSorter) Less(i, j int) bool
Less defines the comparison rules of project
func (*ProjectSorter) Swap ¶
func (ps *ProjectSorter) Swap(i, j int)
Swap swaps the position of i and j
type Repository ¶
type Repository struct {
Name string
}
Repository holds information about repository
func (*Repository) GetProject ¶
func (r *Repository) GetProject() string
GetProject parses the repository and return the name of project.
Click to show internal directories.
Click to hide internal directories.