diff options
author | Christopher Speller <crspeller@gmail.com> | 2015-09-17 09:01:33 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2015-09-17 09:07:37 -0400 |
commit | eb4b80a4845a738f5a1e84504a31f6f54bc4fe92 (patch) | |
tree | 16be9e1aee46244245cc9034ccee0b306e77ba9c /api/file.go | |
parent | e644b53b72d346539f5c58cc0cb0a07c4054cbcb (diff) | |
download | chat-eb4b80a4845a738f5a1e84504a31f6f54bc4fe92.tar.gz chat-eb4b80a4845a738f5a1e84504a31f6f54bc4fe92.tar.bz2 chat-eb4b80a4845a738f5a1e84504a31f6f54bc4fe92.zip |
Adding gofmt to travis build
Diffstat (limited to 'api/file.go')
-rw-r--r-- | api/file.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/file.go b/api/file.go index 692558acf..c24775ee2 100644 --- a/api/file.go +++ b/api/file.go @@ -86,7 +86,7 @@ func uploadFile(c *Context, w http.ResponseWriter, r *http.Request) { return } - for i, _ := range files { + for i := range files { file, err := files[i].Open() defer file.Close() if err != nil { |