Browse Source

JWT Authorization

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

17
models/postModel.go

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

Loading…
Cancel
Save