package pgModels // Source model type Source struct { BaseModel DisplayName string `gorm:"type:text"` Domain string `gorm:"type:text;not null;unique"` }