Documentation ¶
Index ¶
- func DeHtmlTag(html string) string
- func FileNameAppend(filename, subname string) string
- func GbkToUtf8(s []byte) ([]byte, error)
- func In(n int, ints []int) bool
- func IndexStrs(strs []string, str string) int
- func IntsIntersect(a, b []int) []int
- func IntsSubstract(a, b []int) []int
- func IsUtf8(s []byte) bool
- func JoinInt64s(is []int64) string
- func JoinInts(is []int) string
- func JoinSqlFields(prefix string, fields ...string) string
- func JoinStrs(ks []string, sep string) string
- func Json(v interface{}) string
- func JsonPretty(v interface{}) string
- func Max(a, b int) int
- func SliceStr2Int(ss []string) []int
- func ToInt(s string, dv ...int) int
- func ToInts(ss []string) []int
- func ToString(value interface{}) (string, error)
- func Utf8ToGbk(s []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileNameAppend ¶
FileNameAppend hello.jpg,_1 -> hello_1.jpg
func IntsIntersect ¶
func IntsSubstract ¶
func JoinInt64s ¶
func JoinSqlFields ¶
func JsonPretty ¶
func JsonPretty(v interface{}) string
func SliceStr2Int ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.