Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ISO4217List = []string{}/* 182 elements not displayed */
Functions ¶
func MyIsISO4217 ¶
func MyIsISO4217(value interface{}) error
Types ¶
type Beer ¶
type Beer struct { mgm.DefaultModel `bson:",inline"` ID int64 `json:"id" bson:"id" example:"1"` Name string `json:"name" bson:"name" example:"Golden"` Brewery string `json:"brewery" bson:"brewery" example:"Kross"` Country string `json:"country" bson:"country" example:"Chile"` Price float64 `json:"price" bson:"price" example:"10.5"` Currency string `json:"currency" bson:"currency" example:"EUR"` }
Beer model mongodb
type BeerBox ¶
type BeerBox struct {
PriceTotal float64 `json:"price_total" bson:"price_total"`
}
BeerBox model
type BeerBoxPayload ¶
type BeerBoxPayload struct { Currency string `json:"currency" bson:"currency" example:"EUR"` Quantity int64 `json:"quantity,omitempty" bson:"quantity" default:"6"` }
BeerBoxPayload model
type BeerItem ¶
type BeerItem struct { ID int64 `json:"id" bson:"id" example:"1"` Name string `json:"name" bson:"name" example:"Golden"` Brewery string `json:"brewery" bson:"brewery" example:"Kross"` Country string `json:"country" bson:"country" example:"Chile"` Price float64 `json:"price" bson:"price" example:"10.5"` Currency string `json:"currency" bson:"currency" example:"EUR"` }
BeerItem model
type BeerItemPayload ¶
type BeerItemPayload struct { ID int64 `json:"id" bson:"id" example:"1"` Name string `json:"name" bson:"name" example:"Golden"` Brewery string `json:"brewery" bson:"brewery" example:"Kross"` Country string `json:"country" bson:"country" example:"Chile"` Price float64 `json:"price" bson:"price" example:"10.5"` Currency string `json:"currency" bson:"currency" example:"EUR"` }
BeerItemPayload model
Click to show internal directories.
Click to hide internal directories.