package model import "gorm.io/gorm" type Energy struct { gorm.Model } func (m *Energy) TableName() string { return "energy" }