util

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RAND_MIN = 100000
	RAND_MAX = 999999
)

Variables

This section is empty.

Functions

func AddURLSlash

func AddURLSlash(url string) string

func DefaultString

func DefaultString(str *string, def string) string

func RandomVerificationCode

func RandomVerificationCode() string

func SqlNullInt32

func SqlNullInt32(i interface{}) sql.NullInt32

func SqlNullInt64

func SqlNullInt64(i interface{}) sql.NullInt64

func SqlNullString

func SqlNullString(i interface{}) sql.NullString

func URLLocale

func URLLocale(url, locale, defaultLocale string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL