global

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultPage     = 1  // 默认页数
	DefaultPageSize = 15 // 默认每页数据
)
View Source
const (
	Chinese = "cn" //中文
	English = "en" //英文
)
View Source
const (
	ContentType        = "Content-Type"
	ContentDisposition = "Content-Disposition"
	UserAgent          = "ViperRequests/1.1.0"
)
View Source
const (
	AsciiLowercase = "abcdefghijklmnopqrstuvwxyz"
	AsciiUppercase = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
	AsciiLetters   = AsciiLowercase + AsciiUppercase

	Digits    = "0123456789"
	Hexdigits = Digits + "abcdef" + "ABCDEF"
)
View Source
const DefaultTimePattern = time.RFC3339 // 默认时间格式
View Source
const HomeShortCut = "~" // 类Unix系统home路径的短符号
View Source
const NullStr = "null"
View Source
const SwaggerAPIUrl = "/swagger/index.html"

Variables

View Source
var NullBytes = []byte("null")

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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