Use the Go directory thing

This commit is contained in:
Hamcha 2016-02-09 14:55:37 +00:00
parent 9f54924598
commit 6f7ca6c91c
6 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
package main package main
import ( import (
"../tg" "github.com/hamcha/clessy/tg"
) )
func executeClientCommand(action tg.ClientCommand) { func executeClientCommand(action tg.ClientCommand) {

View file

@ -7,7 +7,7 @@ import (
"log" "log"
"net" "net"
"../tg" "github.com/hamcha/clessy/tg"
) )
var clients []net.Conn var clients []net.Conn

View file

@ -8,7 +8,7 @@ import (
"net/url" "net/url"
"strconv" "strconv"
"../tg" "github.com/hamcha/clessy/tg"
) )
const APIEndpoint = "https://api.telegram.org/" const APIEndpoint = "https://api.telegram.org/"

View file

@ -5,7 +5,7 @@ import (
"log" "log"
"net/http" "net/http"
"../tg" "github.com/hamcha/clessy/tg"
) )
func webhook(rw http.ResponseWriter, req *http.Request) { func webhook(rw http.ResponseWriter, req *http.Request) {

View file

@ -4,7 +4,7 @@ import (
"flag" "flag"
"strings" "strings"
"../tg" "github.com/hamcha/clessy/tg"
) )
func dispatch(broker *tg.Broker, update tg.APIMessage) { func dispatch(broker *tg.Broker, update tg.APIMessage) {

View file

@ -3,7 +3,7 @@ package main
import ( import (
"math/rand" "math/rand"
"../tg" "github.com/hamcha/clessy/tg"
) )
var actions []string = []string{ var actions []string = []string{