Documentation ¶ Index ¶ type APIError type Pet type Pet2 type RevValue type RevValueBase type Tag Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type APIError ¶ type APIError struct { ErrorCode int ErrorMessage string CreatedAt time.Time } type Pet ¶ 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 []Tag `json:"tags"` Status string `json:"status"` } type Pet2 ¶ type Pet2 struct { ID int `json:"id"` } type RevValue ¶ type RevValue struct { RevValueBase Data int `json:"Data"` } type RevValueBase ¶ type RevValueBase struct { Status bool `json:"Status"` Err int32 `json:"Err"` } type Tag ¶ type Tag struct { ID int `json:"id"` Name string `json:"name"` } Source Files ¶ View all Source files handler.go Click to show internal directories. Click to hide internal directories.