Code Cleanup

This commit is contained in:
konrad 2017-04-29 17:34:09 +02:00 committed by konrad
parent b9af8200e8
commit 7c189010fe
1 changed files with 0 additions and 9 deletions

View File

@ -2,16 +2,9 @@ package main
import (
"fmt"
//"os/exec"
"github.com/go-ini/ini"
"log"
"net/http"
//"encoding/json"
//"os/exec"
//"github.com/go-playground/form"
//"encoding/json"
"github.com/go-playground/form"
"io/ioutil"
"encoding/json"
"net/url"
@ -51,8 +44,6 @@ func main() {
}
}
var decoder *form.Decoder
func handleHook(w http.ResponseWriter, r *http.Request) {
if r.Method == "POST" {
body, err := ioutil.ReadAll(r.Body)