data

package
v0.0.0-...-be61b1a Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserAuthDatabase          string = config.DatabaseNameUserAuth
	PlantDatabase             string = config.DatabaseNamePlants
	PlantLoggerDatabase       string = config.DatabaseNamePlantLogger
	PlantLoggerConfigDatabase string = config.DatabaseNamePlantLoggerConfig
)

Variables

This section is empty.

Functions

func CreateIndexes

func CreateIndexes(mongoDBInterface *mongodb.MethodInterface) error

CreateIndexes initializes database indexes

func FlattenMap

func FlattenMap(inputMap map[string]interface{}) map[string]interface{}

flattenMap recursively flattens a nested map

func ValidateStruct

func ValidateStruct(data interface{}) error

//////////////////////////////////////// VALIDATOR /////////////////////////////

Types

This section is empty.

Jump to

Keyboard shortcuts

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