entity

package
v0.0.0-...-2a97ad4 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	Email    string
	Password string
	Phone    uint
	Token    string
	Role     Role
	Verified bool
}

type Mongo

type Mongo struct {
	Context        context.Context
	CollectionName string
	Interface      interface{}
	Filter         interface{}
	Options        interface{}
}

type Role

type Role string

type User

type User struct {
	Id        string
	Name      string
	Account   Account
	CreatedAt time.Time
	UpdatedAt time.Time
}

Jump to

Keyboard shortcuts

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