models

package
v0.0.0-...-3017115 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 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 Post

type Post struct {
	Id               bson.ObjectId `json:"id" bson:"_id"`
	Caption          string        `json:"caption" bson:"caption"`
	Image_URL        string        `json:"image_url" bson:"image_url"`
	Posted_Timestamp string        `json:"password" bson:"password"`
}

type User

type User struct {
	Id       bson.ObjectId `json:"id" bson:"_id"`
	Name     string        `json:"name" bson:"name"`
	Email    string        `json:"email" bson:"email"`
	Password string        `json:"password" bson:"password"`
}

Jump to

Keyboard shortcuts

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