Update package name

pull/36/head
Syfaro 10 years ago
parent e8dfdeeeb9
commit 2105871843
  1. 11
      README.md
  2. 2
      bot_test.go
  3. 2
      types_test.go

@ -1,7 +1,7 @@
# Golang bindings for the Telegram Bot API # Golang bindings for the Telegram Bot API
[![GoDoc](https://godoc.org/github.com/Syfaro/telegram-bot-api?status.svg)](http://godoc.org/github.com/Syfaro/telegram-bot-api) [![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)
[![Travis](https://travis-ci.org/Syfaro/telegram-bot-api.svg)](https://travis-ci.org/Syfaro/telegram-bot-api) [![Travis](https://travis-ci.org/go-telegram-bot-api/telegram-bot-api.svg)](https://travis-ci.org/go-telegram-bot-api/telegram-bot-api)
All methods have been added, and all features should be available. All methods have been added, and all features should be available.
If you want a feature that hasn't been added yet or something is broken, 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
something with plugins and command handlers without having to design something with plugins and command handlers without having to design
all that yourself. all that yourself.
Use github.com/go-telegram-bot-api/telegram-bot-api for the latest build,
or use gopkg.in/telegram-bot-api.v1 for the current version.
## Example ## Example
This is a very simple bot that just displays any gotten updates, This is a very simple bot that just displays any gotten updates,
@ -26,7 +29,7 @@ package main
import ( import (
"log" "log"
"github.com/Syfaro/telegram-bot-api" "gopkg.in/telegram-bot-api.v1"
) )
func main() { func main() {
@ -62,7 +65,7 @@ you may use a slightly different method.
package main package main
import ( import (
"github.com/Syfaro/telegram-bot-api" "gopkg.in/telegram-bot-api.v1"
"log" "log"
"net/http" "net/http"
) )

@ -1,7 +1,7 @@
package tgbotapi_test package tgbotapi_test
import ( import (
"github.com/Syfaro/telegram-bot-api" "github.com/go-telegram-bot-api/telegram-bot-api"
"io/ioutil" "io/ioutil"
"log" "log"
"net/http" "net/http"

@ -1,7 +1,7 @@
package tgbotapi_test package tgbotapi_test
import ( import (
"github.com/Syfaro/telegram-bot-api" "github.com/go-telegram-bot-api/telegram-bot-api"
"testing" "testing"
"time" "time"
) )