add
This commit is contained in:
12
trading_assistant_api/common/codes/codes.go
Normal file
12
trading_assistant_api/common/codes/codes.go
Normal 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"
|
||||
)
|
||||
Reference in New Issue
Block a user