temp

package
v0.0.0-...-3a3087e Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Collection

func Collection() *mongo.Collection

Types

type Document

type Document struct {
	Id      string `bson:"_id,omitempty" json:"id,omitempty"`
	Message string `bson:"message,omitempty" json:"message,omitempty"`
}

func (Document) Save

func (t Document) Save() (*mongo.InsertOneResult, error)

Jump to

Keyboard shortcuts

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