Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Measurements ¶
Measurements, as there is no need to keep all numbers around, we can compute them on the fly.
type StaticMap ¶
type StaticMap struct {
M []*Measurements
}
StaticMap is a tailored "map" for cities.txt.
func NewStaticMap ¶
func NewStaticMap() *StaticMap
func (*StaticMap) Get ¶
func (m *StaticMap) Get(key string) *Measurements
func (*StaticMap) Set ¶
func (m *StaticMap) Set(key string, ms *Measurements)
Click to show internal directories.
Click to hide internal directories.