Change repository URL

This commit is contained in:
Hamcha 2018-10-31 10:15:58 +01:00
parent e19383af5c
commit 02768d4c33
Signed by: hamcha
GPG key ID: A40413D21021EAEE
5 changed files with 6 additions and 6 deletions

View file

@ -1,5 +1,5 @@
# Bot API for Telegram bots # Bot API for Telegram bots
Should work if you can put the time to figure out how it works (check client_test.go or better yet, [clessy](https://github.com/hamcha/clessy)) Should work if you can put the time to figure out how it works (check client_test.go or better yet, [clessy](https://git.fromouter.space/hamcha/clessy))
(Yes this needs proper docs and everything but I'm kinda busy doing other stuff) (Yes this needs proper docs and everything but I'm kinda busy doing other stuff)

View file

@ -3,7 +3,7 @@ package main
import ( import (
"net" "net"
"github.com/hamcha/tg" "git.fromouter.space/hamcha/tg"
) )
func executeClientCommand(action tg.ClientCommand, client net.Conn) { func executeClientCommand(action tg.ClientCommand, client net.Conn) {

View file

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

View file

@ -7,7 +7,7 @@ import (
"net/http" "net/http"
"os" "os"
"github.com/hamcha/tg" "git.fromouter.space/hamcha/tg"
) )
// The Config data (parsed from JSON) // The Config data (parsed from JSON)

View file

@ -5,7 +5,7 @@ import (
"log" "log"
"net/http" "net/http"
"github.com/hamcha/tg" "git.fromouter.space/hamcha/tg"
) )
func webhook(rw http.ResponseWriter, req *http.Request) { func webhook(rw http.ResponseWriter, req *http.Request) {
@ -20,7 +20,7 @@ func webhook(rw http.ResponseWriter, req *http.Request) {
} }
data, err := json.Marshal(tg.BrokerUpdate{ data, err := json.Marshal(tg.BrokerUpdate{
Data: update, Data: &update,
Callback: nil, Callback: nil,
}) })
if err != nil { if err != nil {