respo

package
v0.0.0-...-1e877d2 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrorCode           = 0
	SuccessCode         = 1
	DefaultHttpErrorMsg = "请求失败!"
	DefaultHttpSuccMsg  = "请求成功!"
)

Variables

This section is empty.

Functions

func ResToJsonString

func ResToJsonString(msg string, data interface{}, errorCode int) string

* 此包按需求修改使用 @author Bill

Types

This section is empty.

Jump to

Keyboard shortcuts

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