// SaveX is like Save, but panics if an error occurs.
SaveX is like Save, but panics if an error occurs.
// SaveX is like Save but panics if an error occurs .
func (ltu *LocationTypeUpdate) SaveX(ctx context.Context) int {
	affected, err := ltu.Save(ctx)
	if err != nil {
		panic(err)
	}
	return affected
}
func ( ltu * LocationTypeUpdate ) SaveX ( ctx context . Context ) int { affected , err := ltu . Save ( ctx ) if err != nil { panic ( err ) } return affected }
SaveX is like Save, but panics if an error occurs.
SaveX is like Save but panics if an error occurs .