Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllExamplesOut ¶
type AllExamplesOut []ExampleOut
func (AllExamplesOut) FromStore ¶
func (e AllExamplesOut) FromStore(in []store.Example) AllExamplesOut
type ExampleIn ¶
type ExampleIn struct { weaver.AutoMarshal Message string }
func (ExampleIn) ToStore ¶
func (e ExampleIn) ToStore() (params store.CreateExampleParams)
func (*ExampleIn) WeaverMarshal ¶
func (*ExampleIn) WeaverUnmarshal ¶
type ExampleOut ¶
type ExampleOut struct { weaver.AutoMarshal ID int `json:"id,omitempty"` Message string `json:"message,omitempty"` CreatedAt time.Time `json:"created_at,omitempty"` }
func (ExampleOut) FromStore ¶
func (e ExampleOut) FromStore(in store.Example) ExampleOut
func (*ExampleOut) WeaverMarshal ¶
func (x *ExampleOut) WeaverMarshal(enc *codegen.Encoder)
func (*ExampleOut) WeaverUnmarshal ¶
func (x *ExampleOut) WeaverUnmarshal(dec *codegen.Decoder)
Click to show internal directories.
Click to hide internal directories.