Discover Packages
github.com/losinggeneration/go-swagger
examples
2.0
petstore
server
api
package
Version:
v0.0.0-...-223bbe8
Opens a new window with list of versions in this module.
Published: Aug 23, 2016
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
NewPetstore creates a new petstore api handler
type Pet struct {
ID int64 `json:"id"`
Name string `json:"name"`
PhotoURLs []string `json:"photoUrls,omitempty"`
Status string `json:"status,omitempty"`
Tags []Tag `json:"tags,omitempty"`
}
Pet the pet model
Source Files
¶
Click to show internal directories.
Click to hide internal directories.