Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
package models
import ""
type User struct {
Username string `gorm:"type:varchar(32);UNIQUE"`
Email string `gorm:"type:varchar(256);UNIQUE"`
Password string `gorm:"type:varchar(128)"`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.