This commit is contained in:
vipg
2026-02-09 16:59:04 +08:00
parent 611b3b307c
commit ec07824a4d
3 changed files with 72 additions and 22 deletions

View File

@@ -0,0 +1,12 @@
package codes
type Code string
const (
OK Code = "ok"
InvalidInput Code = "invalid_input"
Unauthorized Code = "unauthorized"
Conflict Code = "conflict"
InternalError Code = "internal_error"
MethodNotAllowed Code = "method_not_allowed"
)