Stop using gopkg in README among other minor improvements.
parent
025b92519c
commit
e2f846d83a
16
README.md
16
README.md
|
@ -3,10 +3,6 @@
|
||||||
[![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)
|
[![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/go-telegram-bot-api/telegram-bot-api.svg)](https://travis-ci.org/go-telegram-bot-api/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.
|
|
||||||
If you want a feature that hasn't been added yet or something is broken,
|
|
||||||
open an issue and I'll see what I can do.
|
|
||||||
|
|
||||||
All methods are fairly self explanatory, and reading the godoc page should
|
All methods are fairly self explanatory, and reading the godoc page should
|
||||||
explain everything. If something isn't clear, open an issue or submit
|
explain everything. If something isn't clear, open an issue or submit
|
||||||
a pull request.
|
a pull request.
|
||||||
|
@ -16,14 +12,14 @@ 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
|
|
||||||
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
|
Join [the development group](https://telegram.me/go_telegram_bot_api) if
|
||||||
you want to ask questions or discuss development.
|
you want to ask questions or discuss development.
|
||||||
|
|
||||||
## Example
|
## 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`.
|
||||||
|
|
||||||
This is a very simple bot that just displays any gotten updates,
|
This is a very simple bot that just displays any gotten updates,
|
||||||
then replies it to that chat.
|
then replies it to that chat.
|
||||||
|
|
||||||
|
@ -32,7 +28,8 @@ package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
"gopkg.in/telegram-bot-api.v4"
|
|
||||||
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
@ -77,9 +74,10 @@ you may use a slightly different method.
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"gopkg.in/telegram-bot-api.v4"
|
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
Loading…
Reference in New Issue