Documentation ¶
Index ¶
Constants ¶
View Source
const ( DATE = "date" NAME = "name" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommonFlagger ¶
type CommonFlagger struct {
FlagCheckerObj FlagChecker
}
func NewFlagger ¶
func NewFlagger(flaggerType string, name string, dateFormat string) *CommonFlagger
func (*CommonFlagger) RemoveFlag ¶
type DateFlagChecker ¶
type DateFlagChecker struct {
DateFormat string
}
func (*DateFlagChecker) IsValidFlag ¶
func (dateFlagger *DateFlagChecker) IsValidFlag(conditions []string) bool
type FlagChecker ¶
type NameFlagChecker ¶
type NameFlagChecker struct {
Name string
}
func (*NameFlagChecker) IsValidFlag ¶
func (NameFlagChecker *NameFlagChecker) IsValidFlag(conditions []string) bool
Click to show internal directories.
Click to hide internal directories.