model

package
v0.0.0-...-cc0c475 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2019 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	ID                string    `db:"id" json:"id"`
	Firstname         string    `db:"firstname" json:"firstname"`
	Lastname          string    `db:"lastname" json:"lastname"`
	Email             string    `db:"email" json:"email"`
	EmailVerification bool      `db:"email_verification" json:"email_verification"`
	Password          string    `db:"password" json:"password"`
	ConfirmPassword   string    `db:"-" json:"-"`
	Token             string    `db:"token" json:"token"`
	CreatedAt         time.Time `db:"created_at" json:"-"`
	UpdatedAt         time.Time `db:"updated_at" json:"-"`
}

Jump to

Keyboard shortcuts

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