common

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Environments = []string{
	"backup",
	"dev",
	"prod",
	"stage",
	"stg",
	"main",
	"staging",
	"test",
	"testing",
	"private",
	"priv",
	"public",
	"pub",
	"upload",
	"uploads",
	"assets",
	"asset",
	"static",
	"images",
	"",
}
View Source
var Separators = []string{
	"-",
	"_",
	"",
}

Functions

func IntContain

func IntContain(items []int, item int) bool

func Md5

func Md5(str string) string

func RandIp

func RandIp() string

func StrContain

func StrContain(items []string, item string) bool

func UnicodeCheck

func UnicodeCheck(str string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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