agg

package
v0.0.0-...-695ed52 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL