core/docking/zone.go

Functions

Functions

func String

String returns a human-readable name for the zone.

func (z Zone) String() string {
	if int(z) < len(zoneNames) {
		return zoneNames[z]
	}
	return zoneUnknownStr
}