This commit is contained in:
Eason Lin
2017-06-25 17:09:47 +08:00
committed by easonlin
parent dce16baeff
commit 1e97bf3e19
19 changed files with 882 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
package web
// @hello
// yo yo yo yo
type Pet struct {
ID int `json:"id"`
Category struct {
ID int `json:"id"`
Name string `json:"name"`
} `json:"category"`
Name string `json:"name"`
PhotoUrls []string `json:"photoUrls"`
Tags []struct {
ID int `json:"id"`
Name string `json:"name"`
} `json:"tags"`
Status string `json:"status"`
}
type Pet2 struct {
ID int `json:"id"`
}
type APIError struct {
ErrorCode int
ErrorMessage string
}