Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MatsuyaMenu ¶
type MatsuyaMenu struct { Name string `name:"name" json:"name"` Type string `bson:"type" json:"type"` Price int `bson:"price" json:"price"` Calorie int `bson:"calorie" json:"calorie"` Protein float64 `bson:"protein" json:"protein"` Lipid float64 `bson:"lipid" json:"lipid"` Carbohydrate float64 `bson:"carbohydrate" json:"carbohydrate"` Sodium int `bson:"sodium" json:"sodium"` SaltEquivalent float64 `bson:"saltEquivalent" json:"saltEquivalent"` Description string `bson:"description" json:"description"` ImageURL string `bson:"imageURL" json:"imageURL"` }
MatsuyaMenu メニューのモデル
func UnmarshalMatsuyaMenu ¶
func UnmarshalMatsuyaMenu(data []byte) (MatsuyaMenu, error)
UnmarshalMatsuyaMenu MatsuyaMenuをJSONからUnmershalする
func (*MatsuyaMenu) Marshal ¶
func (r *MatsuyaMenu) Marshal() ([]byte, error)
Marshal MatsuyaMenuをJSONにする
Click to show internal directories.
Click to hide internal directories.