package
Version:
v0.0.0-...-9799b74
Opens a new window with list of versions in this module.
Published: Nov 11, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Claims struct {
Email string `json:"email"`
Password string `json:"password"`
jwt.StandardClaims
}
type Credentials struct {
Password string `json:"password"`
Email string `json:"email"`
}
type Note struct {
base.Base
Note string `json:"note,omitempty"`
UserId uuid.UUID `json:"userId,omitempty"`
Complete bool `gorm:"default:false" json:"complete"`
Public bool `gorm:"default:false" json:"public"`
}
type User struct {
base.Base
Password string `json:"password"`
Email string `gorm:"type:varchar(100);unique" json:"email"`
Name string `json:"name"`
Verification bool
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.