Documentation
¶
Index ¶
- func BooleanHelper(v bool) *bool
- func ComparePassword(old string, new string) bool
- func ConvertUint(i string) (uint, error)
- func Error(v ...interface{})
- func GeneratePassword(password string) string
- func GenerateRandomDigitNumber(max int) string
- func GenerateRandomStringWithCharset(length int, charset string) string
- func GetLastSegment(c *gin.Context) string
- func GetSegment(idx int, c *gin.Context) string
- func Info(v ...interface{})
- func IntContains(s []int, x int) bool
- func Interface2Int64(s interface{}) uint64
- func IsNilInterface(i interface{}) bool
- func IsSupportHTTPMethod(x string) bool
- func Panic(v ...interface{})
- func ReplaceDateFormat(s string, r string) string
- func String2Int64(s string) uint64
- func StringContains(s []string, x string) bool
- func Success(v ...interface{})
- func TimeHelper(v time.Time) *time.Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComparePassword ¶
ComparePassword verify password with bcrypt
func GeneratePassword ¶
GeneratePassword generate password with bcrypt
func GenerateRandomDigitNumber ¶
GenerateRandomDigitNumber ...
func GenerateRandomStringWithCharset ¶
GenerateRandomStringWithCharset ...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.