Documentation
¶
Overview ¶
Package stringer stringer(https://github.com/golang/tools/tree/master/cmd/stringer) example
Index ¶
Constants ¶
View Source
const ( SuccessMap = 1 // success FailMap = 2 // fail UnknowMap = 3 // unknow )
Variables ¶
View Source
var CodeMap = map[int]string{ SuccessMap: "success", FailMap: "fail", UnknowMap: "unknow", }
Functions ¶
func GetMessageByCode ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.