mongodb

package
v0.0.0-...-484db9d Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(url string) error

Types

type Doc1

type Doc1 struct {
	Item string
	QTY  int
	Tags []string
	Size Size
}

type Doc10

type Doc10 struct {
	ID          primitive.ObjectID `bson:"_id"`
	Name        string
	Description string
	Score       float32
}

type Doc2

type Doc2 struct {
	Item   string
	QTY    int
	Size   Size
	Status string
}

type Doc3

type Doc3 struct {
	Item    string
	Status  string
	Size    Size
	Instock []Instock
}

type Doc4

type Doc4 struct {
	Item    string
	Instock []Instock
}

type Doc5

type Doc5 struct {
	Item  string
	QTY   int
	Tags  []string
	DimCm []float32
}

type Doc6

type Doc6 struct {
	ID   primitive.ObjectID `bson:"_id"`
	Item *int
}

type Doc7

type Doc7 struct {
	ID primitive.ObjectID `bson:"_id"`
}

type Doc8

type Doc8 struct {
	ID    primitive.ObjectID `bson:"_id"`
	Char  string
	Class string
	LVL   int
}

type Doc9

type Doc9 struct {
	ID          primitive.ObjectID `bson:"_id"`
	Name        string
	Description string
}

type Instock

type Instock struct {
	Warehouse string
	QTY       int
}

type Size

type Size struct {
	H   float32
	W   float32
	UOM string
}

Jump to

Keyboard shortcuts

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