package models import ( "gorm.io/gorm" ) type Benchmark struct { gorm.Model Name string ScoringType string Description string // many-to-many test Tests[] Test `gorm:"many2many:tests_benchmarks;"` }