Archived
Template
1
0

Initial commit

This commit is contained in:
uberswe
2021-12-12 14:56:13 +01:00
commit 0511f8fbca
1627 changed files with 773292 additions and 0 deletions

16
models/token.go Normal file
View File

@ -0,0 +1,16 @@
package models
import "gorm.io/gorm"
type Token struct {
gorm.Model
Value string
Type string
ModelID int
ModelType string
}
const (
TokenUserActivation string = "user_activation"
TokenPasswordReset string = "password_reset"
)