Composite Primary Key

Set multiple fields as primary key to enable composite primary key

type Product struct {
ID string `gorm:"primary_key"`
LanguageCode string `gorm:"primary_key"`
Code string
Name string
}