Documentation
¶
Index ¶
- func BothZeroOrNot(v1, v2 interface{}) bool
- func CheckEmail(email string) bool
- func ContainsFloat64(arr []float64, target float64) bool
- func ContainsInt(arr []int, target int) bool
- func ContainsInt64(arr []int64, target int64) bool
- func ContainsString(arr []string, target string) bool
- func DeepCopy(dst, src interface{}) error
- func EscapeDoubleQuotes(str string) string
- func GetUrlRoot(port string) string
- func IsDebug() bool
- func IsZeroOfUnderlyingType(x interface{}) bool
- func Lower1stCharacter(ipt string) string
- func Millisecond(ms int64) time.Duration
- func MkDirAll4Path(p string) error
- func MkDirAll4RelativePath(relativePath string) (string, error)
- func ReadFile(path string) ([]byte, error)
- func SafeGetUserFromJWT(c *gin.Context) (model.User, bool)
- func Upper1stCharacter(ipt string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BothZeroOrNot ¶
func BothZeroOrNot(v1, v2 interface{}) bool
func CheckEmail ¶
func ContainsFloat64 ¶
func ContainsInt ¶
func ContainsInt64 ¶
func ContainsString ¶
func EscapeDoubleQuotes ¶
func GetUrlRoot ¶
func IsZeroOfUnderlyingType ¶
func IsZeroOfUnderlyingType(x interface{}) bool
func Lower1stCharacter ¶
func Millisecond ¶
func MkDirAll4Path ¶
func MkDirAll4RelativePath ¶
func Upper1stCharacter ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.