func (zne *Zone) Remove() bool {
	for n, p := range *zne.parentSlice {
		if p.name == zne.name {
			zne.parentSlice.Remove(n)
			return true
		}
	}
	return false
}
Remove removes the zone from it's parent slice
package gorods
import "C"
import (
	"fmt"
	"strconv"
	"strings"
	"time"
	"unsafe"
)
type Zone struct {
	name string
	typ         int
	conString   string
	comment     string
	createTime  time.Time
	modifyTime  time.Time
	id          int
	parentSlice *Zones
	hasInit bool
	con *Connection
}
type Zones []*Zone
func (znes Zones) FindByName(name string, con *Connection) *Zone {
	for _, zne := range znes {
		if zne.name == name {
			return zne
		}
	}
	zne, _ := initZone(name, con)
	return zne
}
func (znes *Zones) Remove(index int) {
	*znes = append((*znes)[:index], (*znes)[index+1:]...)
}
func initZone(name string, con *Connection) (*Zone, error) {
	zne := new(Zone)
	zne.con = con
	zne.name = name
	return zne, nil
}
func (zne *Zone) init() error {
	if !zne.hasInit {
		if err := zne.RefreshInfo(); err != nil {
			return err
		}
		zne.hasInit = true
	}
	return nil
}