go fmt
This commit is contained in:
parent
a262b66dda
commit
53150466a6
2 changed files with 6 additions and 6 deletions
10
trantor.go
10
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) {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Reference in a new issue