From 20084b94292aac48fc16e690e72070381390dabe Mon Sep 17 00:00:00 2001 From: Tim Shannon Date: Wed, 20 Apr 2016 16:22:42 +0000 Subject: [PATCH] Post trigger test --- build.sh | 3 ++- json.go | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 3da48b2..2e5624f 100644 --- a/build.sh +++ b/build.sh @@ -4,6 +4,7 @@ dir=$1 go get -u git.townsourced.com/townsourced/ironsmith -cd $dir/src/git.townsourced.com/townsourced/ironsmith +ls $dir +#cd $dir/src/git.townsourced.com/townsourced/ironsmith go-bindata web/... && go build -a -v -o ironsmith diff --git a/json.go b/json.go index ad60f6c..92c1a62 100644 --- a/json.go +++ b/json.go @@ -6,6 +6,7 @@ package main import ( "encoding/json" + "fmt" "io" "io/ioutil" "log" @@ -84,6 +85,8 @@ func parseInput(r *http.Request, result interface{}) error { return err } + fmt.Printf("JSON Input: %s\n", buff) + if lr.N == 0 { return errInputTooLarge }