-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- deleted the handler_test for now - missing modules - CI bash scripts
- Loading branch information
Showing
14 changed files
with
94 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
if [[ $(cd gh && gofmt -l .) ]]; then exit 1; fi | ||
if [[ $(cd handler && gofmt -l .) ]]; then exit 1; fi | ||
if [[ $(cd tg && gofmt -l .) ]]; then exit 1; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
(cd gh && go fmt $@) | ||
(cd handler && go fmt $@) | ||
(cd tg && go fmt $@) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
module github.com/berserktech/telebot/gh | ||
|
||
go 1.12 | ||
|
||
require ( | ||
github.com/stretchr/testify v1.3.0 | ||
gopkg.in/go-playground/webhooks.v5 v5.6.0 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= | ||
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= | ||
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= | ||
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= | ||
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= | ||
github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= | ||
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= | ||
gopkg.in/go-playground/webhooks.v5 v5.6.0 h1:z7O1sg1HiNQjoZKALAD6YMcZWgVCgYQmBjoVrbNv3+c= | ||
gopkg.in/go-playground/webhooks.v5 v5.6.0/go.mod h1:LZbya/qLVdbqDR1aKrGuWV6qbia2zCYSR5dpom2SInQ= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module github.com/berserktech/telebot/handler | ||
|
||
go 1.12 | ||
|
||
require ( | ||
github.com/berserktech/telebot/gh v0.0.0-20190304044943-f23b8172bf1b | ||
github.com/berserktech/telebot/tg v0.0.0-20190304044943-f23b8172bf1b | ||
github.com/technoweenie/multipartstreamer v1.0.1 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
github.com/berserktech/telebot/gh v0.0.0-20190304043952-352c432d8ea3 h1:SxKGhReIAy12PWQ0/8dXtLkOb5waWOY3cuMXSDM4jdk= | ||
github.com/berserktech/telebot/gh v0.0.0-20190304043952-352c432d8ea3/go.mod h1:+JYyEG3Yiew/VkGIxDGMQslPsVdDixTNNUwVbXSg900= | ||
github.com/berserktech/telebot/gh v0.0.0-20190304044943-f23b8172bf1b h1:DOfFYj0Vhx2Cmu3rh/S7SIbr1cxhuGyFLvPgS+KnM0g= | ||
github.com/berserktech/telebot/gh v0.0.0-20190304044943-f23b8172bf1b/go.mod h1:+JYyEG3Yiew/VkGIxDGMQslPsVdDixTNNUwVbXSg900= | ||
github.com/berserktech/telebot/tg v0.0.0-20190304043952-352c432d8ea3 h1:fenIkzK1Te5elymv+/BSmLoAEyFCSc4qMkCUdUmKAsk= | ||
github.com/berserktech/telebot/tg v0.0.0-20190304043952-352c432d8ea3/go.mod h1:UmjW19xAK+WFJnyvM+TFFZeueQaaFfVKoqDInnNpFvM= | ||
github.com/berserktech/telebot/tg v0.0.0-20190304044943-f23b8172bf1b h1:FOBJKVal+u6FkcPY1dYp6Y2KPAXUK6dTnSx5c2B6nTU= | ||
github.com/berserktech/telebot/tg v0.0.0-20190304044943-f23b8172bf1b/go.mod h1:UmjW19xAK+WFJnyvM+TFFZeueQaaFfVKoqDInnNpFvM= | ||
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= | ||
github.com/go-telegram-bot-api/telegram-bot-api v4.6.4+incompatible h1:2cauKuaELYAEARXRkq2LrJ0yDDv1rW7+wrTEdVL3uaU= | ||
github.com/go-telegram-bot-api/telegram-bot-api v4.6.4+incompatible/go.mod h1:qf9acutJ8cwBUhm1bqgz6Bei9/C/c93FPDljKWwsOgM= | ||
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= | ||
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= | ||
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= | ||
github.com/technoweenie/multipartstreamer v1.0.1 h1:XRztA5MXiR1TIRHxH2uNxXxaIkKQDeX7m2XsSOlQEnM= | ||
github.com/technoweenie/multipartstreamer v1.0.1/go.mod h1:jNVxdtShOxzAsukZwTSw6MDx5eUJoiEBsSvzDU9uzog= | ||
gopkg.in/go-playground/webhooks.v5 v5.6.0 h1:z7O1sg1HiNQjoZKALAD6YMcZWgVCgYQmBjoVrbNv3+c= | ||
gopkg.in/go-playground/webhooks.v5 v5.6.0/go.mod h1:LZbya/qLVdbqDR1aKrGuWV6qbia2zCYSR5dpom2SInQ= |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
go test ./gh | ||
go test ./tg | ||
go test ./handler |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
module github.com/berserktech/telebot/tg | ||
|
||
go 1.12 | ||
|
||
require ( | ||
github.com/go-telegram-bot-api/telegram-bot-api v4.6.4+incompatible | ||
github.com/technoweenie/multipartstreamer v1.0.1 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
github.com/go-telegram-bot-api/telegram-bot-api v4.6.4+incompatible h1:2cauKuaELYAEARXRkq2LrJ0yDDv1rW7+wrTEdVL3uaU= | ||
github.com/go-telegram-bot-api/telegram-bot-api v4.6.4+incompatible/go.mod h1:qf9acutJ8cwBUhm1bqgz6Bei9/C/c93FPDljKWwsOgM= | ||
github.com/technoweenie/multipartstreamer v1.0.1 h1:XRztA5MXiR1TIRHxH2uNxXxaIkKQDeX7m2XsSOlQEnM= | ||
github.com/technoweenie/multipartstreamer v1.0.1/go.mod h1:jNVxdtShOxzAsukZwTSw6MDx5eUJoiEBsSvzDU9uzog= |