weather

package
Version: v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultLocation = "shanghai"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Weather

type Weather struct {
	City    string `json:"city"`
	Date    string `json:"date"`
	Temp    string `json:"temp"`
	Weather string `json:"weather"`
}

func GetWeatherInfo

func GetWeatherInfo(api string) ([]Weather, error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL