Update README for v2

bot-api-6.1
Syfaro 2016-01-04 14:55:04 -06:00
parent b7c9b50020
commit baf170548c
1 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ 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 Use `github.com/go-telegram-bot-api/telegram-bot-api` for the latest
version, or use `gopkg.in/telegram-bot-api.v1` for the stable build. version, or use `gopkg.in/telegram-bot-api.v2` for the stable build.
## Example ## Example
@ -29,7 +29,7 @@ package main
import ( import (
"log" "log"
"gopkg.in/telegram-bot-api.v1" "gopkg.in/telegram-bot-api.v2"
) )
func main() { func main() {
@ -65,7 +65,7 @@ you may use a slightly different method.
package main package main
import ( import (
"gopkg.in/telegram-bot-api.v1" "gopkg.in/telegram-bot-api.v2"
"log" "log"
"net/http" "net/http"
) )