repository

package
v0.0.0-...-a852e11 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WeatherPersister

type WeatherPersister interface {
	PersistWeather(datasource.Weather) error
}

WeatherPersister takes the data from a Weather object and saves it to a persistent storage

func NewSQLStorage

func NewSQLStorage(db *sql.DB) WeatherPersister

NewSQLStorage returns a WeatherPersister that stores data in the database/sql passed

Jump to

Keyboard shortcuts

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