Versions in this module Expand all Collapse all v0 v0.1.0 Jan 12, 2024 Changes in this version + const StdCompactDateLayout + const StdCompactDateTimeLayout + const StdDataLayout + const StdDateTimeLayout + func Boom(remark string) + func FindFilePaths(root string, pattern string) ([]string, error) + func GetTimeVersion() string + func InElems[T comparable](elem T, elems []T) bool + func JoinElems[T comparable](elems []T, sep string) string + func MustGetFilePath(path string) string + func Negative[T int | int32 | int64 | float32 | float64](money T) T + func PagingElems[T interface{}](elems []T, page int, size int) []T + func Positive[T int | int32 | int64 | float32 | float64](money T) T + func ProcessStringsSlice(strs []string, filter func(string) bool, fn func(string) string) []string + func ShardingElems[T comparable](elems []T, batchSize int) (batches [][]T) + func TimestampToLayout(timestamp int64, layout string) string + func ToFen(amount float64) int64 + func ToIntYuan(y int64) int64 + func ToJsonString(v interface{}, pretty bool) string + func ToYuan(o int64) float64 + func UniqElems[T comparable](elems []T) []T + type StdDateStr string + func (s StdDateStr) GetTime() time.Time + type StdDateTimeStr string + func (s StdDateTimeStr) GetTime() time.Time