Documentation ¶
Index ¶
- func AllIntEqual(s []int) (bool, error)
- func EqualMap(x, y interface{}) bool
- func EqualSlice(x, y interface{}) (bool, error)
- func GetFieldName(s interface{}) ([]string, error)
- func GetTagName(s interface{}) ([]string, error)
- func IsExists(s []string, e string) bool
- func SliceFilter(slice []string, elem string) []string
- func SliceHelper(slicePtr interface{}) *sliceHelper
- func StringCut(s string, fs string) string
- func StringFmtOneLine(s string) string
- func TempFunc() template.FuncMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllIntEqual ¶
func EqualSlice ¶
func GetFieldName ¶
Get struct field name and return field slice
func GetTagName ¶
Get struct tags value or return field value
func SliceFilter ¶
func StringFmtOneLine ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.