package
2.0.0+incompatible
Repository: https://github.com/lnsp/go-demos.git
Documentation: pkg.go.dev

# Functions

NewInMemoryService creates a new InMemoryService.

# Constants

Units of measurement for temperature ranges.
Units of measurement for temperature ranges.
Units of measurement for temperature ranges.

# Variables

ErrInvalidTemperature is thrown when the converted temperature exceeds the allowed value range.
ErrNotFound is thrown when a city does not exist in the database.

# Structs

InMemoryService is a in-memory implementation of a weather data service.
Report stores weather information at a specific point in time.

# Interfaces

Service stores and retrieves local weather information.

# Type aliases

Unit is a kind of temperature measurement unit.