PaulSonOfLars / gotgbot

Autogenerated Go wrapper for the telegram API. Inspired by the python-telegram-bot library.
MIT License
509 stars 114 forks source link

A suggestion #178

Closed pd5200 closed 3 months ago

pd5200 commented 3 months ago

I hope the go get -u command can retrieve the most recently modified version, but currently it always gets the latest tagged version. I hope to fix this, so that if there is no new tag created, it can directly update to the latest commit, so that users can directly use the latest version when updating the code, without needing too many extra operations.

JasonKhew96 commented 3 months ago

Please read go get doc, there is a reason why the latest commit is not tagged yet. https://github.com/PaulSonOfLars/gotgbot/issues/167#issuecomment-2198512088

https://go.dev/ref/mod#go-get https://go.dev/ref/mod#version-queries

go get github.com/PaulSonOfLars/gotgbot/v2@hash