Skip to content

Instantly share code, notes, and snippets.

@Solution
Created May 13, 2021 13:04
Show Gist options
  • Save Solution/4d2a338566c1b6f31a5fa0af47ae099f to your computer and use it in GitHub Desktop.
Save Solution/4d2a338566c1b6f31a5fa0af47ae099f to your computer and use it in GitHub Desktop.
type User struct {
gorm.Model
Firstname string
Surname string
Email string
Phone string
Password string
Role string
Active bool
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment