transformation

package
v0.0.0-...-f9c177b Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const BRAND_SOURCE = "brands"
View Source
const COLORS_SOURCE = "colors"
View Source
const MODEL_SOURCE = "models"
View Source
const TRIM_SOURCE = "trimlevels"

Variables

This section is empty.

Functions

func BaseTransformation

func BaseTransformation(ctx context.Context, pipeline []bson.M, collection string, database string)

func BodyStyle

func BodyStyle(ctx context.Context)

func Brand

func Brand(ctx context.Context)

func BrandToModel

func BrandToModel(ctx context.Context, regex string, find string, replacement string)

This function if for clean the model lower field and eliminate some words that are not necessary

func Color

func Color(ctx context.Context)

func DealerIntoCarTransformation

func DealerIntoCarTransformation(ctx context.Context)

func DealerTransformation

func DealerTransformation(ctx context.Context)

func DriveTrain

func DriveTrain(ctx context.Context)

func Fueltype

func Fueltype(ctx context.Context)

func InitDealerTransformation

func InitDealerTransformation(ctx context.Context)

func Model

func Model(ctx context.Context, layer int)

Model function is for lookup the model in the models collection

func RebornModel

func RebornModel(ctx context.Context)

func RefineModel

func RefineModel(ctx context.Context)

func RunCarTransformation

func RunCarTransformation(ctx context.Context)

func RunDealerTransformation

func RunDealerTransformation(ctx context.Context)

func Transmission

func Transmission(ctx context.Context)

func Trim

func Trim(ctx context.Context)

func UnMatchedModelLayerThree

func UnMatchedModelLayerThree(ctx context.Context)

func UnMatchedModelLayerTwo

func UnMatchedModelLayerTwo(ctx context.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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