You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run goagen bootstrap and get struct all fields specify how pointer (int, string e.t.c). But this example struct Bottle
typeBottlestruct {
// Account that owns bottleAccount*AccountTiny`form:"account,omitempty" json:"account,omitempty" xml:"account,omitempty"`// API href of bottleHrefstring`form:"href" json:"href" xml:"href"`// ID of bottleIDint`form:"id" json:"id" xml:"id"`// Links to related resourcesLinks*BottleLinks`form:"links,omitempty" json:"links,omitempty" xml:"links,omitempty"`// todo maybe Name *string ???Namestring`form:"name" json:"name" xml:"name"`// Rating of bottle between 1 and 5Rating*int`form:"rating,omitempty" json:"rating,omitempty" xml:"rating,omitempty"`Varietalstring`form:"varietal" json:"varietal" xml:"varietal"`Vineyardstring`form:"vineyard" json:"vineyard" xml:"vineyard"`Vintageint`form:"vintage" json:"vintage" xml:"vintage"`
}
The text was updated successfully, but these errors were encountered:
I run
goagen bootstrap
and get struct all fields specify how pointer (int, string e.t.c). But this example structBottle
The text was updated successfully, but these errors were encountered: