Documentation ¶
Index ¶
- type String
- func (s String) IsEmptyOrSpace() bool
- func (s String) Lower() string
- func (s String) ReplaceAll(old, new string) string
- func (s String) Source() string
- func (s String) Title() string
- func (s String) ToCamel() string
- func (s String) ToSnake() string
- func (s String) Untitle() string
- func (s String) Upper() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type String ¶
type String struct {
// contains filtered or unexported fields
}
String provides for converting the source text into other spell case,like lower,snake,camel
func (String) IsEmptyOrSpace ¶
IsEmptyOrSpace returns true if the length of the string value is 0 after call strings.TrimSpace, or else returns false
func (String) ReplaceAll ¶
ReplaceAll calls the strings.ReplaceAll
Click to show internal directories.
Click to hide internal directories.