Documentation ¶
Index ¶
- func CalculateEPaySign(mapData map[string]string, secret string) string
- func CheckEPaySign(mapData map[string]string, secret string, sign string) bool
- func EmptyPtr[T comparable](v T) *T
- func GetAbsolutePath(path string) string
- func MD5(str string) []byte
- func MD5String(str string) string
- func ParseEmptyPtr[T any](v *T) T
- func Ptr[T any](v T) *T
- func PtrString(v string) *string
- func RandInt(min, max int) int
- func RandString(n int) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmptyPtr ¶
func EmptyPtr[T comparable](v T) *T
func GetAbsolutePath ¶ added in v1.0.1
func ParseEmptyPtr ¶
func ParseEmptyPtr[T any](v *T) T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.