11 lines
139 B
Go
11 lines
139 B
Go
|
package models
|
||
|
|
||
|
import "gorm.io/gorm"
|
||
|
|
||
|
type User struct {
|
||
|
gorm.Model
|
||
|
Name string
|
||
|
Email string `gorm:"unique"`
|
||
|
Password string
|
||
|
}
|