users

package
v0.0.0-...-28f78e3 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: MIT Imports: 5 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 {
	gorm.Model
	UID      string `json:"-"`
	Name     string `json:"name"`
	Email    string `json:"email"`
	Password string `json:"password"`
}

func (*User) Find

func (u *User) Find() *errors.ApiErr

Get - user

func (*User) Save

func (u *User) Save() *errors.ApiErr

Save - user

func (*User) Validate

func (u *User) Validate() *errors.ApiErr

Jump to

Keyboard shortcuts

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