umputun / tg-spam

Anti-Spam bot for Telegram and anti-spam library
https://tg-spam.umputun.dev
MIT License
214 stars 38 forks source link

Error with `make build` #111

Open GaloisField2718 opened 3 months ago

GaloisField2718 commented 3 months ago

Hello,

The command make build didn't work for me with the error:

go: download go1.22 for linux/amd64: toolchain not available
make: *** [Makefile:28: build] Error 1

I patched the error with updating go 1.22 -> go 1.22.0 into go.mod.

I think a PR for this is not required. but just for the next update you can update it.

Maybe there are other solutions but this worked for me.

coperius commented 3 months ago

https://github.com/golang/go/issues/61455