package models import ( "time" ) type User struct { UserId int64 `gorm:"type:bigint;primaryKey"` Name string `gorm:"type:text"` UserName string `gorm:"type:text"` IsPremium bool `gorm:"type:bool"` UpdatedAt time.Time `gorm:"default:timezone('utc'::text, now())"` CreatedAt time.Time `gorm:"default:timezone('utc'::text, now())"` }