model

package
v0.0.0-...-1881185 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2020 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 File

type File struct {
	ID     primitive.ObjectID `bson:"_id,omitempty" json: "_id"`
	Name   string             `json:"name"`
	Type   string             `json:"type"`
	Path   string             `json:"path"`
	UserId primitive.ObjectID `bson:"userId" json:"userId"`
}

type User

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

type Video

type Video struct {
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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