Versions in this module Expand all Collapse all v0 v0.0.3 May 30, 2023 v0.0.2 May 30, 2023 Changes in this version + func BytesToString(ss []byte) string v0.0.1 Mar 27, 2022 Changes in this version + const DATE_FORMAT_DATE + const DATE_FORMAT_DT + func Crc16(bs []byte) (crc uint16) + func DecodeInt64(i string, key uint64) (int64, error) + func DecryptInt64(i string, key []byte) (int64, error) + func EncodeInt64(i int64, key uint64) string + func EncryptInt64(i int64, key []byte) (string, error) + func FormatDate(secs int64, layout string) string + func GetCurrentDT() int32 + func GetCurrentTimeStamp() int64 + func GetDT(t time.Time) int32 + func GetValuesOfSlice(v interface{}, key string) (interface{}, error) + func IntefaceSlice(v interface{}) []interface + func JoinRunes(arr []rune, sep string) string + func JoinSlice(arr interface{}, sep string) (ret string, err error) + func JsonEncode(v interface{}) string + func Md5hex(input string) string + func Md5s(input string) string + func RandomString(len int) string + func RedisGzipGet(ctx context.Context, redisClient *redis.Client, key string) ([]byte, error) + func RedisGzipSet(ctx context.Context, redisClient *redis.Client, key string, data []byte, ...) error + func Sha1s(input string) string + func Sha256s(input string) string + func SliceStringToInt(arr []string) []int + func SubCipher(chars []rune, n int) [][]rune + func SubCipherDecode(cipher [][]rune, s string, min int) int + func SubCipherEncode(cipher [][]rune, input int, min int) string