diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-10-05 10:15:55 -0700 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-10-05 10:15:55 -0700 |
commit | 179cb469c9204a463284c5823251e8cea31a4a1e (patch) | |
tree | c3dce6207f008180838bcd4914876efdaeb02d70 /system/admin/server.go | |
parent | cd263f3fb3626c8853ed1fcbd92a8febaca055ec (diff) |
removing some debug printlns
Diffstat (limited to 'system/admin/server.go')
-rw-r--r-- | system/admin/server.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/system/admin/server.go b/system/admin/server.go index b91635f..900f47d 100644 --- a/system/admin/server.go +++ b/system/admin/server.go @@ -187,8 +187,6 @@ func Run() { req.PostForm.Add(name, urlPath) } - fmt.Println(req.PostForm) - // check for any multi-value fields (ex. checkbox fields) // and correctly format for db storage. Essentially, we need // fieldX.0: value1, fieldX.1: value2 => fieldX: []string{value1, value2} @@ -338,7 +336,6 @@ func storeFileUploads(req *http.Request) (map[string]string, error) { absPath := filepath.Join(uploadDir, filename) if _, err := os.Stat(absPath); !os.IsNotExist(err) { - fmt.Println(err, "file at", absPath, "exists") filename = fmt.Sprintf("%d-%s", time.Now().Unix(), filename) absPath = filepath.Join(uploadDir, filename) } |