Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Asset ¶
type Asset struct { *model.Car Distance float64 `json:"distance"` GoogleMapsURL string `json:"google_maps_url"` }
Asset is an aggregate root.
func (*Asset) FlexContainer ¶
func (x *Asset) FlexContainer() (messaging_api.FlexContainerInterface, error)
FlexContainer returns the asset as a flex message.
type Assets ¶
type Assets []*Asset
Assets is a collection of Asset.
func (Assets) FlexContainer ¶
func (x Assets) FlexContainer() (messaging_api.FlexContainerInterface, error)
FlexContainer returns the assets as a flex message.
Click to show internal directories.
Click to hide internal directories.