Documentation ¶
Index ¶
- Constants
- func ExcludeSlice(all, exclude []string) []string
- func FilterParser(ctx context.Context, f string, filterPointer interface{}) error
- func GenerateToken(uid int64, expireDuration time.Duration, secretKey string) (string, error)
- func IsInArray(item int, array []int) bool
- func IsInStrArray(item string, array []string) bool
- func NowUTC() time.Time
- func ParseDay(tStr string) (time.Time, error)
- func RandShuffle(slice []interface{})
- func RangeParser(ctx context.Context, r string) (int, int, error)
- func SortParser(ctx context.Context, sort string) (string, error)
- func Time2TimeStamp(t time.Time) int64
- func TimeStamp2Time(tStamp int64) time.Time
- func TimeStamp2UTCTimeString(tStamp int64) string
- func TodayStartUTC() time.Time
- func UniqueArray(iArray []int64) []int64
- func UniqueStr(slice []string) []string
- type Batcher
- type JwtClaims
Constants ¶
View Source
const DefaultBatchSize = 100
Variables ¶
This section is empty.
Functions ¶
func ExcludeSlice ¶
func FilterParser ¶
func GenerateToken ¶
func IsInStrArray ¶
func RandShuffle ¶
func RandShuffle(slice []interface{})
func Time2TimeStamp ¶
func TimeStamp2Time ¶
func TimeStamp2UTCTimeString ¶
func TodayStartUTC ¶
func UniqueArray ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.