mongo

package
v0.0.0-...-9f58fd6 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Database *mongo.Database
}

func New

func New(client *mongo.Client, db string) *Client

func (*Client) Collection

func (c *Client) Collection(name string) *mongo.Collection

type Database

type Database struct {
	Name        string
	Collections []string
}

type Databases

type Databases []*Database

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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