model

package
v0.0.0-...-ac7271b Latest Latest
Warning

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

Go to latest
Published: May 25, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const UserCollection = "user"

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	ID    primitive.ObjectID `bson:"_id,omitempty"`
	Name  string             `bson:"name"`
	Email string             `bson:"email"`
}

Jump to

Keyboard shortcuts

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