models

package
v0.0.0-...-d545df9 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoRecord = errors.New("models: no matching record found")
	// Add a new ErrInvalidCredentials error. We'll use this later if a user
	// tries to login with an incorrect email address or password.
	ErrInvalidCredentials = errors.New("models: invalid credentials")
	// Add a new ErrDuplicateEmail error. We'll use this later if a user
	// tries to signup with an email address that's already in use.
	ErrDuplicateEmail = errors.New("models: duplicate email")
)

Functions

This section is empty.

Types

type Otps

type Otps struct {
	ID       int
	Otp      string
	Verified bool
	Created  time.Time
	Expires  time.Time
}

type Scrap

type Scrap struct {
	ID      int
	Soc_id  string
	Email   string
	Guid    string
	Count   int
	Created time.Time
	Expires time.Time
}

type ScrapRequest

type ScrapRequest struct {
	Uuid     string
	Guid     string
	BLOBData []byte
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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