discordgo icon indicating copy to clipboard operation
discordgo copied to clipboard

Update Go version

Open wperron opened this issue 2 years ago • 1 comments

The current Go version is 1.13, it would be interesting to target a newer version (>=1.18) to be able to make use of new features and improvements to the language.

wperron avatar Sep 12 '22 12:09 wperron

+1

fsandov avatar Sep 17 '22 08:09 fsandov

Yes. There might be some breaking changes with this update, however, with latest Go, there's a high chance code's performance will improve.

VILJkid avatar Oct 01 '22 18:10 VILJkid

After a lot of consideration, we'll probably stick to 1.13, for compatibility and because generics will just make more mess out of our code style which will result in a lot of breaking changes.

We might be bumping the versions to 1.17+ in the near future, however, that's not certain.

FedorLap2006 avatar Nov 12 '22 20:11 FedorLap2006