forecast

command module
v0.0.0-...-7f2e039 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: MIT Imports: 5 Imported by: 0

README

Forecast

Forecast processes the location & returns temperature for that location

Usage

For Windows/Linux without docker

go run *go

For Windows/Linux with docker

docker-compose up

Examples

Get Forecast to recieve forecast for wednesday night

GET /forecast HTTP/1.1
User-Agent: PostmanRuntime/7.29.0
Host: localhost:8080
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Connection: Keep-Alive
Co-Ordinates: 38.2527° N, 84.7585° W

Tests

Tests have been added for several validations & errors, to check type

go test ../forecast/pkg/http

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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