entity

package
v0.0.0-...-ed8de99 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WxErr

type WxErr struct {
	ErrCode float64 `json:"errcode"`
	ErrMsg  string  `json:"errmsg"`
	MsgId   float64 `json:"msgid"`
}

func NewWxErr

func NewWxErr(errCode float64, errMsg string, msgId float64) WxErr

func (WxErr) Error

func (w WxErr) Error() string

type WxErrMsg

type WxErrMsg struct {
	// contains filtered or unexported fields
}

func GeWxErrMsgInstance

func GeWxErrMsgInstance() *WxErrMsg

type WxPayErr

type WxPayErr struct {
	Code    string         `json:"code"`
	Message string         `json:"message"`
	Detail  WxPayErrDetail `json:"detail"`
}

func (WxPayErr) Error

func (w WxPayErr) Error() string

type WxPayErrDetail

type WxPayErrDetail struct {
	Field    string      `json:"field"`
	Value    interface{} `json:"value"`
	Issue    string      `json:"issue"`
	Location string      `json:"location"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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