From bb5f12b20c5cc6807438e40970eb63c36e289aae Mon Sep 17 00:00:00 2001 From: Emile Date: Wed, 19 Oct 2022 23:47:36 +0200 Subject: sr.ht breaks modules, wrap go get parameters in single quotes... --- .gitignore | 1 - README.md | 2 +- go.mod | 6 +++--- go.sum | 5 ++--- main.go | 2 +- 5 files changed, 7 insertions(+), 9 deletions(-) delete mode 100644 .gitignore diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 1d3ed4c..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -config.yml diff --git a/README.md b/README.md index a288523..d874ad0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# matrix_weather_bot +# matrix-weather-bot A matrix bot functioning as a periodic weatherman. diff --git a/go.mod b/go.mod index bb52410..60c67d1 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,9 @@ -module git.darknebu.la/emile/matrix_weather_bot +module git.sr.ht/~hanemile/matrix-weather-bot go 1.13 require ( - git.darknebu.la/emile/matrix v0.0.0-00010101000000-000000000000 + git.sr.ht/~hanemile/matrix-sdk v0.0.0-20221019213014-f6537d36ef54 github.com/chewxy/tightywhities v1.0.0 github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect github.com/guptarohit/asciigraph v0.5.0 @@ -13,4 +13,4 @@ require ( gopkg.in/h2non/gentleman.v2 v2.0.4 ) -replace git.darknebu.la/emile/matrix => ../matrix +//replace git.darknebu.la/emile/matrix => ../matrix diff --git a/go.sum b/go.sum index 0705cba..366a2b3 100644 --- a/go.sum +++ b/go.sum @@ -11,6 +11,8 @@ cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqCl cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I= cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= +git.sr.ht/~hanemile/matrix-sdk v0.0.0-20221019213014-f6537d36ef54 h1:0tOOzEVp/vLMqC+CX0y08yGuK0ENKnP7hPLZJ9Rc134= +git.sr.ht/~hanemile/matrix-sdk v0.0.0-20221019213014-f6537d36ef54/go.mod h1:sCm2MfOAkNnZ5CPxQ0nooZ7zcxoAgfSnspaOuTKc+B0= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= @@ -72,10 +74,7 @@ github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/ad github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= -github.com/guptarohit/asciigraph v0.5.0 h1:azb6qbdR+vvhKOllox8JSjGkQ5f/wvQR0w+xH+tIoX0= github.com/guptarohit/asciigraph v0.5.0/go.mod h1:9fYEfE5IGJGxlP1B+w8wHFy7sNZMhPtn59f0RLtpRFM= -github.com/h2non/gentleman v2.0.4+incompatible h1:C5vcqSVYEmc1aJcK7biWLfEmTFRbbvwjsWEFS7y6J+E= -github.com/h2non/gentleman v2.0.4+incompatible/go.mod h1:ddrWLQr62qU8EOGml9CArC88lNeDkYPmysfWX1PUKK4= github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q= github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8= github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= diff --git a/main.go b/main.go index b8beb0e..d781cac 100644 --- a/main.go +++ b/main.go @@ -7,7 +7,7 @@ import ( "io/ioutil" "time" - "git.darknebu.la/emile/matrix" + "git.sr.ht/~hanemile/matrix-sdk" "github.com/spf13/viper" "github.com/wcharczuk/go-chart" "gopkg.in/h2non/gentleman.v2" -- cgit 1.4.1