str

package
v1.8.7 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// devMode
	Dev  = "dev"
	Prod = "prod"
	// default config file dir
	ConfDir = "conf/"
	// db sql const
	GtSubSQL = "sub_sql"
	// Deprecated
	GtClientPage          = "clientPage"
	GtClientPageUnderLine = "client_page" // 支持下划线
	// Deprecated
	GtEveryPage          = "everyPage"
	GtEveryPageUnderLine = "every_page" // 支持下划线
	GtOrder              = "order"
	GtKey                = "key"
	GtMock               = "mock"
	// gt tag
	GtField = "field"
)

devMode const key words

Variables

View Source
var MaxUploadMemory int64

max upload file size

Functions

This section is empty.

Types

type ID

type ID struct {
	ID int64 `json:"id"`
}

ID struct

type Num added in v1.8.0

type Num struct {
	Num int `json:"num"`
}

type String

type String interface {
	String() (string, error)
}

string

type Value

type Value struct {
	Value string `json:"value"`
}

struct value

Jump to

Keyboard shortcuts

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