goweather

command module
v0.0.0-...-0828610 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: MIT Imports: 8 Imported by: 0

README

GoWeather

A CLI tool to provide the weather on a given location. Written in Go using the Open Weather API

Usage

To run the program follow the steps below:

  git clone https://github.com/1063551/GoWeather.git
  cd GoWeather/

To see the valid format of the arguments:

  go run main.go -h
    -location string
    	  a valid location (default "Barcelona")

And now run the program with your preferred location (in this case, New York):

  go run main.go New York

To-Do

  • Make efficient code to search for cities with the same name, choose the most habited one for example.
  • Accept multiple cities as input.
  • Let the user specify (or not) the country.
  • Give the user a choice of parameters to be displayed.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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