Discover Packages
github.com/alseiitov/swag
example
basic
web
package
Version:
v1.4.0
Opens a new window with list of versions in this module.
Published: Sep 5, 2018
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types type APIError type Pet type Pet2 type RevValue type RevValueBase type Tag
Documentation
¶
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 struct {
ID int `json:"id"`
}
type RevValueBase struct {
Status bool `json:"Status"`
Err int32 `json:"Err"`
}
type Tag struct {
ID int `json:"id"`
Name string `json:"name"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.