package pgModels type UserSource struct { UserID string `gorm:"primaryKey"` SourceID string `gorm:"primaryKey"` AccountUsername string AccountID string } func (UserSource) TableName() string { return "UserSource" }