import "github.com/go-swagger/go-swagger/examples/tutorials/todo-list/server-2/models"
type Error struct { // code Code int64 `json:"code,omitempty"` // message // Required: true Message *string `json:"message"` }
Error error
swagger:model error
ContextValidate validates this error based on context it is used
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
ContextValidate validate this item based on the context it is used
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this item
Package models imports 5 packages (graph) and is imported by 9 packages. Updated 2021-01-25. Refresh now. Tools for package owners.