base_helpers

package
v0.0.0-...-7cab837 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertBsonToMap

func ConvertBsonToMap(doc bson.M) map[string]any

Función para convertir BSON a `map[string]interface{}` y manejar `primitive.ObjectID`

func ConvertMapToStrings

func ConvertMapToStrings(input map[string]interface{}) (map[string]string, error)

func LoadStructure

func LoadStructure[T any](array *sync.Map) (*T, bool)

func NormalizarFiltros

func NormalizarFiltros(input map[string]any) map[string][]any

func SaveStructure

func SaveStructure[T any](element *T, array *sync.Map)

Types

This section is empty.

Jump to

Keyboard shortcuts

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