示例#1
0
func saveAllOrPanic(hd *hood.Hood, x interface{}) {
	_, err := hd.SaveAll(x)
	if err != nil {
		panic(err)
	}
}