Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JsonMap ¶
func FastJsonMap ¶
FastJsonMap 快速解析单层jsonmap, eg: {"a": "1", "b": "2"}
type JsonResult ¶
type JsonResult struct { ErrorCode int `json:"errorCode"` Message string `json:"message"` Data interface{} `json:"data"` Success bool `json:"success"` }
func JsonErrorCode ¶
func JsonErrorCode(code int, message string) *JsonResult
Click to show internal directories.
Click to hide internal directories.