users

package
v0.0.0-...-b140d4b Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2022 License: MIT Imports: 3 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        int64  `json:"ID"`
	FirstName string `json:"first_name"`
	LastName  string `json:"last_name"`
	Password  string `json:"password"`
	Email     string `json:"email"`
}

func (*User) GetByEmail

func (user *User) GetByEmail() *errors.RestErr

func (*User) GetByID

func (user *User) GetByID() *errors.RestErr

func (*User) Save

func (user *User) Save() *errors.RestErr

func (*User) Validate

func (user *User) Validate() *errors.RestErr

Jump to

Keyboard shortcuts

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