base

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MulanPSL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RetCode_SUCCESS RetCode = 200
	RetCode_ERROR   RetCode = 500

	DATETIME_UTC = iota
	DATETIME_GMT8

	ZERO_TIME_INT64   = -62135596800
	PAGE_SIZE_ALL     = -1
	PAGE_SIZE_ZERO    = 0
	PAGE_SIZE_DEFAULT = 20
	PAGE_SIZE_MAX     = 500

	FormatDate     = "2006-01-02"
	FormatDateTime = "2006-01-02 15:04:05"
	FormatUTCTime  = "2006-01-02T15:04:05.000Z"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CmsError

type CmsError struct {
	Code int32
	Msg  string
}

func (*CmsError) Error

func (ce *CmsError) Error() string

type RetCode

type RetCode int32

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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