Documentation ¶
Index ¶
- func MapConstraint(e *entity.Constraint) *models.Constraint
- func MapConstraints(e []entity.Constraint) []*models.Constraint
- func MapDistribution(e *entity.Distribution) *models.Distribution
- func MapDistributions(e []entity.Distribution) []*models.Distribution
- func MapFlag(e *entity.Flag) (*models.Flag, error)
- func MapFlagSnapshot(e *entity.FlagSnapshot) (*models.FlagSnapshot, error)
- func MapFlagSnapshots(e []entity.FlagSnapshot) ([]*models.FlagSnapshot, error)
- func MapFlags(e []entity.Flag) ([]*models.Flag, error)
- func MapSegment(e *entity.Segment) *models.Segment
- func MapSegments(e []entity.Segment) []*models.Segment
- func MapTag(e *entity.Tag) *models.Tag
- func MapTags(e []entity.Tag) []*models.Tag
- func MapVariant(e *entity.Variant) *models.Variant
- func MapVariants(e []entity.Variant) []*models.Variant
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 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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.