Browse Source

JWT Authorization

yoga-dev
Seyora24 1 year ago
parent
commit
05f1506873
  1. 7
      models/postModel.go

7
models/postModel.go

@ -1,11 +1,14 @@
package models package models
import "gorm.io/gorm" import (
"gorm.io/gorm"
)
type Post struct { type Post struct {
gorm.Model gorm.Model
Name string Name string
Email string Email string `gorm:"unique"`
Password string
Gender string Gender string
Address string Address string
Tempat string Tempat string

Loading…
Cancel
Save