marshaling

package
v0.0.0-...-73856a8 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2020 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BrandToProto

func BrandToProto(brand *domain.Brand) *brandproto.Brand

BrandToProto marshals a domain object into a protobuf object.

func BrandsToProto

func BrandsToProto(brands []*domain.Brand) []*brandproto.Brand

BrandsToProto marshals a slice of domain objects into protobuf objects.

Types

This section is empty.

Jump to

Keyboard shortcuts

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