updated some logic and better error handling

This commit is contained in:
2022-02-20 01:01:48 +01:00
parent 3b2283a6f3
commit 7e19a8e9af
6 changed files with 276 additions and 244 deletions

4
go.mod
View File

@@ -1,4 +1,4 @@
module vikingowl/getweather
module vikingowl/poly-weather-script-go
go 1.17
@@ -6,6 +6,8 @@ require rsc.io/quote v1.5.2
require (
github.com/joho/godotenv v1.4.0 // indirect
github.com/sirupsen/logrus v1.8.1 // indirect
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037 // indirect
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c // indirect
rsc.io/sampler v1.3.0 // indirect
)