store

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2025 License: Apache-2.0, Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCloseDate

func GetCloseDate(c *mongo.Collection, dt int) int

func GetMongoClient

func GetMongoClient(mongoCfg config.MongoConfig) *mongo.Client

OpenSession to mongodb

func GetReportID

func GetReportID(col *mongo.Collection, report string) (string, error)

GetReportID accepts a report name and returns the report's id

Types

type DatedItem

type DatedItem struct {
	DateInteger int `bson:"date_integer"`
}

Jump to

Keyboard shortcuts

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