models

package
v0.0.0-...-49120e8 Latest Latest
Warning

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

Go to latest
Published: May 5, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUserExists      error = errors.New("models: user already exists")
	ErrUserNotFound    error = errors.New("models: user not found")
	ErrInvalidPassword error = errors.New("models: invalid password")
	ErrPinNotFound     error = errors.New("models: pin not found")
)

Functions

This section is empty.

Types

type Pin

type Pin struct {
	ID       int
	ImageURL string
	Username string
}

type User

type User struct {
	ID       int
	Username string
	Password []byte
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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