Documentation
¶
Index ¶
- Variables
- func E(code int64, msg string) *errors.Error
- func ErrorHandler() app.HandlerFunc
- func HmacSha256(s, key string) string
- func IsEmpty(i any) bool
- func Ptr[T any](i T) *T
- func Random(n int, charset ...string) string
- func RandomAlphabet(n int) string
- func RandomLowercase(n int) string
- func RandomNumber(n int) string
- func RandomUppercase(n int) string
- func Reverse[T any](v []T)
- func ReverseString(v string) string
- func SID() string
- func Sha256hex(s string) string
- func Shuffle[T any](v []T)
- func ShuffleString(v string) string
- func Uuid() string
- func Validator() *go_playground.Validator
- type ErrorMeta
- type R
Constants ¶
This section is empty.
Variables ¶
View Source
var SF = sonyflake.NewSonyflake(sonyflake.Settings{})
Functions ¶
func ErrorHandler ¶ added in v0.11.0
func ErrorHandler() app.HandlerFunc
func HmacSha256 ¶ added in v0.11.0
func RandomAlphabet ¶ added in v0.6.0
func RandomLowercase ¶ added in v0.6.0
func RandomNumber ¶ added in v0.6.0
func RandomUppercase ¶ added in v0.6.0
func ReverseString ¶ added in v0.6.0
func ShuffleString ¶ added in v0.6.0
func Validator ¶ added in v0.7.1
func Validator() *go_playground.Validator
Types ¶
Click to show internal directories.
Click to hide internal directories.