Browse Source

JWT Authorization

user
Seyora24 2 years ago
parent
commit
05f1506873
  1. 7
      models/postModel.go

7
models/postModel.go

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

Loading…
Cancel
Save