e2r

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapConstraint

func MapConstraint(e *entity.Constraint) *models.Constraint

MapConstraint maps constraint

func MapConstraints

func MapConstraints(e []entity.Constraint) []*models.Constraint

MapConstraints maps constraints

func MapDistribution

func MapDistribution(e *entity.Distribution) *models.Distribution

MapDistribution maps to a distribution

func MapDistributions

func MapDistributions(e []entity.Distribution) []*models.Distribution

MapDistributions maps distribution

func MapFlag

func MapFlag(e *entity.Flag) (*models.Flag, error)

MapFlag maps flag

func MapFlagSnapshot

func MapFlagSnapshot(e *entity.FlagSnapshot) (*models.FlagSnapshot, error)

MapFlagSnapshot maps flag snapshot

func MapFlagSnapshots

func MapFlagSnapshots(e []entity.FlagSnapshot) ([]*models.FlagSnapshot, error)

MapFlagSnapshots maps flag snapshots

func MapFlags

func MapFlags(e []entity.Flag) ([]*models.Flag, error)

MapFlags maps flags

func MapSegment

func MapSegment(e *entity.Segment) *models.Segment

MapSegment maps segment

func MapSegments

func MapSegments(e []entity.Segment) []*models.Segment

MapSegments maps segments

func MapTag

func MapTag(e *entity.Tag) *models.Tag

MapTagEntity maps tag entity

func MapTags

func MapTags(e []entity.Tag) []*models.Tag

MapTags maps tags

func MapVariant

func MapVariant(e *entity.Variant) *models.Variant

MapVariant maps variant

func MapVariants

func MapVariants(e []entity.Variant) []*models.Variant

MapVariants maps variant

Types

This section is empty.

Jump to

Keyboard shortcuts

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