package routes import ( "github.com/flamego/flamego" "git.metaunix.net/BitGoblin/colossus/models" ) func getHardwareAdd(c flamego.Context) { models.DB.Create(&models.Component{ Name: "PowerColor RX 570 4GB", Manufacturer: "PowerColor", Type: "Graphics Card", }) c.Redirect("/") }