package
Version:
v0.0.0-...-e520e56
Opens a new window with list of versions in this module.
Published: Oct 9, 2019
License: MIT
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
¶
func ComparePasswordHash(hashedPassword, givenPassword []byte) bool
type Model struct {
ID uint `gorm:"primary_key" json:"id"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
DeletedAt *time.Time `sql:"index" json:"deleted_at"`
}
type Todo struct {
Model
Name string `json:"name"`
Done bool `json:"done"`
User User `json:"-"`
UserID uint `json:"-"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.