Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegexNameable ¶
type RegexNameable struct {
// contains filtered or unexported fields
}
func NewRegexNameable ¶
func NewRegexNameable(pattern string) *RegexNameable
func (*RegexNameable) FirstGroupOrDefault ¶
func (rn *RegexNameable) FirstGroupOrDefault(s string, defaultValue string) string
func (*RegexNameable) MapKey ¶ added in v0.42.8
func (rn *RegexNameable) MapKey() string
func (RegexNameable) Matches ¶
func (rn RegexNameable) Matches(s string) bool
func (*RegexNameable) Regex ¶
func (rn *RegexNameable) Regex() *regexp.Regexp
func (*RegexNameable) String ¶
func (rn *RegexNameable) String() string
type SimpleNameable ¶
type SimpleNameable struct {
// contains filtered or unexported fields
}
func NewSimpleNameable ¶
func NewSimpleNameable(name string) *SimpleNameable
func (*SimpleNameable) MapKey ¶ added in v0.42.8
func (sn *SimpleNameable) MapKey() string
func (*SimpleNameable) Matches ¶
func (sn *SimpleNameable) Matches(s string) bool
func (*SimpleNameable) Name ¶
func (sn *SimpleNameable) Name() string
func (*SimpleNameable) String ¶
func (sn *SimpleNameable) String() string
Click to show internal directories.
Click to hide internal directories.