From 6f7ca6c91c32e94389679e3c955b4d7d5d38d23c Mon Sep 17 00:00:00 2001 From: Hamcha Date: Tue, 9 Feb 2016 14:55:37 +0000 Subject: [PATCH] Use the Go directory thing --- broker/action.go | 2 +- broker/clients.go | 2 +- broker/telegram.go | 2 +- broker/webhook.go | 2 +- mods/main.go | 2 +- mods/metafora.go | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/broker/action.go b/broker/action.go index 705b981..cbfb00d 100644 --- a/broker/action.go +++ b/broker/action.go @@ -1,7 +1,7 @@ package main import ( - "../tg" + "github.com/hamcha/clessy/tg" ) func executeClientCommand(action tg.ClientCommand) { diff --git a/broker/clients.go b/broker/clients.go index cc05089..b91b904 100644 --- a/broker/clients.go +++ b/broker/clients.go @@ -7,7 +7,7 @@ import ( "log" "net" - "../tg" + "github.com/hamcha/clessy/tg" ) var clients []net.Conn diff --git a/broker/telegram.go b/broker/telegram.go index 28d7259..a54df4e 100644 --- a/broker/telegram.go +++ b/broker/telegram.go @@ -8,7 +8,7 @@ import ( "net/url" "strconv" - "../tg" + "github.com/hamcha/clessy/tg" ) const APIEndpoint = "https://api.telegram.org/" diff --git a/broker/webhook.go b/broker/webhook.go index 607b487..8cd037a 100644 --- a/broker/webhook.go +++ b/broker/webhook.go @@ -5,7 +5,7 @@ import ( "log" "net/http" - "../tg" + "github.com/hamcha/clessy/tg" ) func webhook(rw http.ResponseWriter, req *http.Request) { diff --git a/mods/main.go b/mods/main.go index 1bc0424..d9fec01 100644 --- a/mods/main.go +++ b/mods/main.go @@ -4,7 +4,7 @@ import ( "flag" "strings" - "../tg" + "github.com/hamcha/clessy/tg" ) func dispatch(broker *tg.Broker, update tg.APIMessage) { diff --git a/mods/metafora.go b/mods/metafora.go index a10d165..a76cc20 100644 --- a/mods/metafora.go +++ b/mods/metafora.go @@ -3,7 +3,7 @@ package main import ( "math/rand" - "../tg" + "github.com/hamcha/clessy/tg" ) var actions []string = []string{