Documentation ¶
Index ¶
Constants ¶
View Source
const ( LibKeyGit2Go = LibKey("git2go") LibKeyGoGit = LibKey("go-git") )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LibWrapper ¶
type LibWrapper struct {
// contains filtered or unexported fields
}
func (LibWrapper) Get ¶
func (w LibWrapper) Get(para ParameterKey) string
func (LibWrapper) GetBool ¶
func (w LibWrapper) GetBool(para ParameterKey) bool
func (LibWrapper) GetInt ¶
func (w LibWrapper) GetInt(para ParameterKey) int
func (LibWrapper) MustGet ¶
func (w LibWrapper) MustGet(para ParameterKey) (v string, err error)
type Map ¶
func OneLineMap ¶
func OneLineMap(k ParameterKey, v *string) Map
func RegisterCommonFlags ¶
func RegisterCommonFlags(flagSet *pflag.FlagSet, flags []ParameterKey) Map
func RegisterFlags ¶
func RegisterFlags(flagSet *pflag.FlagSet, git2go, gogit []ParameterKey) Map
func (Map) Get ¶
func (arg Map) Get(para ParameterKey) string
func (Map) Git2GoWrapper ¶
func (arg Map) Git2GoWrapper() *LibWrapper
func (Map) GoGitWrapper ¶
func (arg Map) GoGitWrapper() *LibWrapper
type ParameterKey ¶
type ParameterKey string
type RequisiteFailed ¶
type RequisiteFailed struct {
// contains filtered or unexported fields
}
func (RequisiteFailed) Error ¶
func (r RequisiteFailed) Error() string
Click to show internal directories.
Click to hide internal directories.