From 3968e8f6a936d2f7deb8bf6a34346873e89ec6cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D1=83=D1=85=D0=B0=D0=BC=D0=BC=D0=B0=D0=B4=20=D0=90?= =?UTF-8?q?=D0=BB=D0=B8=D1=84=D1=84=20=D0=9C=D1=83=D0=B0=D0=B7=D0=B7=D0=B0?= =?UTF-8?q?=D0=BC?= Date: Thu, 22 Feb 2018 20:59:09 +0800 Subject: [PATCH 1/2] Add requirement --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 266f4ed..c5d6dd0 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,12 @@ version, or use `gopkg.in/telegram-bot-api.v4` for the stable build. Join [the development group](https://telegram.me/go_telegram_bot_api) if you want to ask questions or discuss development. +## Requirement + +Just run this before running the example code. + +``` gopkg.in/telegram-bot-api.v4 ``` + ## Example This is a very simple bot that just displays any gotten updates, From c5d0d34ae61b085dfa9c3239301103ee1b1fc3cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D1=83=D1=85=D0=B0=D0=BC=D0=BC=D0=B0=D0=B4=20=D0=90?= =?UTF-8?q?=D0=BB=D0=B8=D1=84=D1=84=20=D0=9C=D1=83=D0=B0=D0=B7=D0=B7=D0=B0?= =?UTF-8?q?=D0=BC?= Date: Thu, 22 Feb 2018 21:02:20 +0800 Subject: [PATCH 2/2] Fix requirement --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c5d6dd0..40fe4d5 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ you want to ask questions or discuss development. Just run this before running the example code. -``` gopkg.in/telegram-bot-api.v4 ``` +``` $ go get gopkg.in/telegram-bot-api.v4 ``` ## Example