Rename package to `got`

pull/281/head
Sergey Parshukov 6 years ago
parent d828c543c9
commit 96edc748b5
No known key found for this signature in database
GPG Key ID: 9D0FB8D5E702923A
  1. 4
      bot.go
  2. 2
      bot_test.go
  3. 2
      configs.go
  4. 4
      helpers.go
  5. 2
      helpers_test.go
  6. 2
      log.go
  7. 2
      passport.go
  8. 2
      types.go
  9. 2
      types_test.go

@ -1,6 +1,6 @@
// Package tgbotapi has functions and types used for interacting with
// Package got has functions and types used for interacting with
// the Telegram Bot API.
package tgbotapi
package got
import (
"bytes"

@ -1,4 +1,4 @@
package tgbotapi_test
package got_test
import (
"io/ioutil"

@ -1,4 +1,4 @@
package tgbotapi
package got
import (
"encoding/json"

@ -1,4 +1,4 @@
package tgbotapi
package got
import (
"net/url"
@ -622,7 +622,7 @@ func NewEditMessageCaption(chatID int64, messageID int, caption string) EditMess
ChatID: chatID,
MessageID: messageID,
},
Caption: caption,
Caption: caption,
}
}

@ -1,4 +1,4 @@
package tgbotapi_test
package got_test
import (
"testing"

@ -1,4 +1,4 @@
package tgbotapi
package got
import (
"errors"

@ -1,4 +1,4 @@
package tgbotapi
package got
// PassportRequestInfoConfig allows you to request passport info
type PassportRequestInfoConfig struct {

@ -1,4 +1,4 @@
package tgbotapi
package got
import (
"encoding/json"

@ -1,4 +1,4 @@
package tgbotapi_test
package got_test
import (
"testing"