Discover Packages
github.com/marcgrol/go-swagger
examples
2.0
petstore
server
api
package
Version:
v0.0.0-...-c7a2a0a
Opens a new window with list of versions in this module.
Published: Dec 3, 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 Source Files Index Constants Variables Functions Types NewPetstore() type Pet type Tag
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.