models

package
v0.0.0-...-4999fe2 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	ID       bson.ObjectId `bson:"_id" json:"id"`
	Name     string        `bson:"name" json:"name"`
	Email    string        `bson:"email" json:"email"`
	No_hp    string        `bson:"no_hp" json:"no_hp"`
	Event_id string        `bson:"event_id" json:"event_id"`
}

Represents a user, use bson keyword to tell mgo driver how to name the properties mongodb document

Jump to

Keyboard shortcuts

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