bean

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2021 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//CodeSuccess ***
	CodeSuccess = "success"
	//DateFormat ***
	DateFormat = "yyyy-MM-dd HH:mm:ss" //2006-01-02 15:04:05
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RespResult

type RespResult struct {
	Code    string `json:"code"` // = "success"
	Message string `json:"message"`
}

RespResult ***

func NewRespResult

func NewRespResult(data interface{}) *RespResult

NewRespResult ***

func (*RespResult) ToString

func (o *RespResult) ToString() string

ToString get the string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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