From 53150466a69907baa45b8decdfd2cb4d12e72035 Mon Sep 17 00:00:00 2001 From: Las Zenow Date: Fri, 26 Oct 2012 13:44:08 +0200 Subject: [PATCH] go fmt --- trantor.go | 10 +++++----- upload.go | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/trantor.go b/trantor.go index 3444eb8..727e11a 100644 --- a/trantor.go +++ b/trantor.go @@ -72,12 +72,12 @@ func fileHandler(path string) { } type indexData struct { - S Status - Books []Book - VisitedBooks []Book + S Status + Books []Book + VisitedBooks []Book DownloadedBooks []Book - Count int - Tags []string + Count int + Tags []string } func indexHandler(w http.ResponseWriter, r *http.Request) { diff --git a/upload.go b/upload.go index 8db399b..53761c8 100644 --- a/upload.go +++ b/upload.go @@ -2,13 +2,13 @@ package main import ( "git.gitorious.org/go-pkg/epub.git" + "log" "net/http" "os" "os/exec" "regexp" "strconv" "strings" - "log" ) func storePath(name string) string {