package models import ( "gorm.io/gorm" ) type Hardware struct { gorm.Model Name string Type string // has many tests Tests[] Test }