Norsun is a simple weather application that fetches weather data for Oslo from the Norwegian Meteorological Institute (Met.no). The purpose of this project is to learn Go.
- Fetches weather data from Met.no.
- Displays current temperature, wind speed, and precipitation details.
- Shows upcoming weather information for the next 6 hours.
Install Go. You can download and install Go from here.
-
Clone the repository:
git clone https://github.com/yourusername/norsun.git
-
Navigate into the project directory:
cd norsun
-
Build the program:
go build .
-
Install the program:
go install
-
Run the program with or without specifying the amount of days
-
norsun 3
This will fetch the current weather for Oslo and display relevant information like the temperature and wind speed.
This project is for educational purposes only and is free to use.