完善代码
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
package codes
|
||||
|
||||
// A Code is an unsigned 32-bit error code as defined in the beego spec.
|
||||
type Code uint32
|
||||
|
||||
const (
|
||||
// SessionSessionStartError means func SessionStart error in session module.
|
||||
SessionSessionStartError Code = 5001001
|
||||
)
|
||||
|
||||
// CodeToStr is a map about Code and Code's message
|
||||
var CodeToStr = map[Code]string{
|
||||
SessionSessionStartError : `"SESSION_MODULE_SESSION_START_ERROR"`,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user