Skip to content

Commit 2105871

Browse files
author
Syfaro
committed
Update package name
1 parent e8dfdee commit 2105871

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

README.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Golang bindings for the Telegram Bot API
22

3-
[![GoDoc](https://godoc.org/github.com/Syfaro/telegram-bot-api?status.svg)](http://godoc.org/github.com/Syfaro/telegram-bot-api)
4-
[![Travis](https://travis-ci.org/Syfaro/telegram-bot-api.svg)](https://travis-ci.org/Syfaro/telegram-bot-api)
3+
[![GoDoc](https://godoc.org/github.com/go-telegram-bot-api/telegram-bot-api?status.svg)](http://godoc.org/github.com/go-telegram-bot-api/telegram-bot-api)
4+
[![Travis](https://travis-ci.org/go-telegram-bot-api/telegram-bot-api.svg)](https://travis-ci.org/go-telegram-bot-api/telegram-bot-api)
55

66
All methods have been added, and all features should be available.
77
If you want a feature that hasn't been added yet or something is broken,
@@ -16,6 +16,9 @@ without any additional features. There are other projects for creating
1616
something with plugins and command handlers without having to design
1717
all that yourself.
1818

19+
Use github.com/go-telegram-bot-api/telegram-bot-api for the latest build,
20+
or use gopkg.in/telegram-bot-api.v1 for the current version.
21+
1922
## Example
2023

2124
This is a very simple bot that just displays any gotten updates,
@@ -26,7 +29,7 @@ package main
2629

2730
import (
2831
"log"
29-
"github.com/Syfaro/telegram-bot-api"
32+
"gopkg.in/telegram-bot-api.v1"
3033
)
3134

3235
func main() {
@@ -62,7 +65,7 @@ you may use a slightly different method.
6265
package main
6366

6467
import (
65-
"github.com/Syfaro/telegram-bot-api"
68+
"gopkg.in/telegram-bot-api.v1"
6669
"log"
6770
"net/http"
6871
)

bot_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package tgbotapi_test
22

33
import (
4-
"github.com/Syfaro/telegram-bot-api"
4+
"github.com/go-telegram-bot-api/telegram-bot-api"
55
"io/ioutil"
66
"log"
77
"net/http"

types_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package tgbotapi_test
22

33
import (
4-
"github.com/Syfaro/telegram-bot-api"
4+
"github.com/go-telegram-bot-api/telegram-bot-api"
55
"testing"
66
"time"
77
)

0 commit comments

Comments
 (0)