From 86b40248427e00ea78ecf1a79e0e5f1bbad48c2b Mon Sep 17 00:00:00 2001 From: amirb Date: Thu, 11 Jul 2024 19:26:41 +0330 Subject: [PATCH] Since Go 1.16, the behavior of go get has changed, and it is no longer supported outside of a module. Instead, you should use go install with a version or operate within a module. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b18d15dd..b3040af0 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ you want to ask questions or discuss development. ## Example First, ensure the library is installed and up to date by running -`go get -u github.com/go-telegram-bot-api/telegram-bot-api/v5`. +`go install github.com/go-telegram-bot-api/telegram-bot-api/v5@latest`. This is a very simple bot that just displays any gotten updates, then replies it to that chat.