* add api & rename alias

Signed-off-by: soulseen <sunzhu@yunify.com>
This commit is contained in:
Zhuxiaoyang
2019-04-27 20:23:41 +08:00
committed by zryfish
parent e26a7a0ca9
commit 1e87ad5998
6 changed files with 1302 additions and 220 deletions

View File

@@ -18,15 +18,8 @@
package devops
type JkError struct {
Message string `json:"message"`
Code int `json:"code"`
Errors []Errors `json:"errors"`
}
type Errors struct {
Message string `json:"message"`
Code string `json:"code"`
Field string `json:"field"`
Code int `json:"code"`
}
func (err *JkError) Error() string {