mongodb

package
v0.0.0-...-d7dd272 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: MIT Imports: 11 Imported by: 0

README

Golang MongoDB receipts

To fastly setup mongodb instance use docker-compose.yml in this folder

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomFlatStructure

type CustomFlatStructure struct {
	ID   string
	Date time.Time
}

func ExecWithFlat

func ExecWithFlat(conStr, db string, coll string, id_postfix string) (CustomFlatStructure, error)

type CustomNestedMapStruct

type CustomNestedMapStruct struct {
	ID   string
	Data map[string]interface{}
}

func ExecWithNestedMapAllTypes

func ExecWithNestedMapAllTypes(conStr string, db string, coll string, id_postfix string) (CustomNestedMapStruct, error)

func ExecWithNestedMapAllTypesCustomRegister

func ExecWithNestedMapAllTypesCustomRegister(conStr string, db string, coll string, id_postfix string) (CustomNestedMapStruct, error)

func ExecWithNestedMapCustomMapType

func ExecWithNestedMapCustomMapType(conStr string, db string, coll string, id_postfix string) (CustomNestedMapStruct, error)

func ExecWithNestedMapDefaultMapType

func ExecWithNestedMapDefaultMapType(conStr string, db string, coll string, id_postfix string) (CustomNestedMapStruct, error)

Jump to

Keyboard shortcuts

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