climate

package
v0.0.0-...-f5be08d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewClimate

func NewClimate(l hemisphere.Latitude)

Types

type Climate

type Climate map[hemisphere.Coordinate]Seasons

func (Climate) Fetch

func (climate Climate) Fetch(coordinate hemisphere.Coordinate) Seasons

func (Climate) Get

func (climate Climate) Get(coordinate hemisphere.Coordinate) (Seasons, bool)

type Seasons

type Seasons map[string]float32

func (Seasons) Fetch

func (seasons Seasons) Fetch(key string) float32

func (Seasons) Get

func (seasons Seasons) Get(key string) (float32, bool)

type Zone

type Zone map[float32]Climate

func (Zone) Fetch

func (zone Zone) Fetch(key float32) Climate

func (Zone) Get

func (zone Zone) Get(key float32) (Climate, bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL