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