Ejemplo n.º 1
0
func saveOrPanic(hd *hood.Hood, x interface{}) {
	_, err := hd.Save(x)
	if err != nil {
		panic(err)
	}
}