Documentation
¶
Index ¶
- Constants
- func AddURLSlash(url string) string
- func DefaultString(str *string, def string) string
- func RandomVerificationCode() string
- func SqlNullInt32(i interface{}) sql.NullInt32
- func SqlNullInt64(i interface{}) sql.NullInt64
- func SqlNullString(i interface{}) sql.NullString
- func URLLocale(url, locale, defaultLocale string) string
Constants ¶
View Source
const ( RAND_MIN = 100000 RAND_MAX = 999999 )
Variables ¶
This section is empty.
Functions ¶
func AddURLSlash ¶
func DefaultString ¶
func RandomVerificationCode ¶
func RandomVerificationCode() string
func SqlNullInt32 ¶
func SqlNullInt64 ¶
func SqlNullString ¶
func SqlNullString(i interface{}) sql.NullString
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.