Use the Go directory thing
This commit is contained in:
parent
9f54924598
commit
6f7ca6c91c
6 changed files with 6 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"../tg"
|
||||
"github.com/hamcha/clessy/tg"
|
||||
)
|
||||
|
||||
func executeClientCommand(action tg.ClientCommand) {
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
"log"
|
||||
"net"
|
||||
|
||||
"../tg"
|
||||
"github.com/hamcha/clessy/tg"
|
||||
)
|
||||
|
||||
var clients []net.Conn
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"net/url"
|
||||
"strconv"
|
||||
|
||||
"../tg"
|
||||
"github.com/hamcha/clessy/tg"
|
||||
)
|
||||
|
||||
const APIEndpoint = "https://api.telegram.org/"
|
||||
|
|
|
@ -5,7 +5,7 @@ import (
|
|||
"log"
|
||||
"net/http"
|
||||
|
||||
"../tg"
|
||||
"github.com/hamcha/clessy/tg"
|
||||
)
|
||||
|
||||
func webhook(rw http.ResponseWriter, req *http.Request) {
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"flag"
|
||||
"strings"
|
||||
|
||||
"../tg"
|
||||
"github.com/hamcha/clessy/tg"
|
||||
)
|
||||
|
||||
func dispatch(broker *tg.Broker, update tg.APIMessage) {
|
||||
|
|
|
@ -3,7 +3,7 @@ package main
|
|||
import (
|
||||
"math/rand"
|
||||
|
||||
"../tg"
|
||||
"github.com/hamcha/clessy/tg"
|
||||
)
|
||||
|
||||
var actions []string = []string{
|
||||
|
|
Reference in a new issue