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
// Creates fine
type Schema struct {
Column string `json:"column"`
Type SchemaType `json:"type"`
}
// Proposal function
func NewSchema(column string, type string) (*Schema, error){...}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey-hey!
Is it possible to generate a constructor for the response body?
Currently my config generates only body structs without a constructor:
It would be nice to have something like:
Beta Was this translation helpful? Give feedback.
All reactions