Code Cleanup
This commit is contained in:
parent
b9af8200e8
commit
7c189010fe
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue