import "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-1/models"
type Error struct { // code Code int64 `json:"code,omitempty"` // message // Required: true Message *string `json:"message"` }
Error error
swagger:model error
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this error
type Item struct { // completed Completed bool `json:"completed,omitempty"` // description // Required: true // Min Length: 1 Description *string `json:"description"` // id // Read Only: true ID int64 `json:"id,omitempty"` }
Item item
swagger:model item
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this item
Package models imports 4 packages (graph) and is imported by 9 packages. Updated 2020-04-07. Refresh now. Tools for package owners.