Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownCase = errUnknownCase{}
Functions ¶
func Splitx ¶
Splitx is a special case of strings.Split which returns an empty slice if the string is empty
func ToLowerInitial ¶ added in v0.0.38
ToLowerInitial converts a string's first character to lower case.
func ToUpperInitial ¶ added in v0.0.38
ToUpperInitial converts a string's first character to upper case.
Types ¶
type RegisteredCases ¶ added in v0.0.167
type RegisteredCases []string
func (*RegisteredCases) AddCase ¶ added in v0.0.167
func (r *RegisteredCases) AddCase(c string) string
func (*RegisteredCases) String ¶ added in v0.0.168
func (r *RegisteredCases) String() string
func (*RegisteredCases) ToUnknownCaseErr ¶ added in v0.0.168
func (r *RegisteredCases) ToUnknownCaseErr(actual string) error
Click to show internal directories.
Click to hide internal directories.