This commit is contained in:
Las Zenow 2012-10-26 13:44:08 +02:00
parent a262b66dda
commit 53150466a6
2 changed files with 6 additions and 6 deletions

View file

@ -72,12 +72,12 @@ func fileHandler(path string) {
} }
type indexData struct { type indexData struct {
S Status S Status
Books []Book Books []Book
VisitedBooks []Book VisitedBooks []Book
DownloadedBooks []Book DownloadedBooks []Book
Count int Count int
Tags []string Tags []string
} }
func indexHandler(w http.ResponseWriter, r *http.Request) { func indexHandler(w http.ResponseWriter, r *http.Request) {

View file

@ -2,13 +2,13 @@ package main
import ( import (
"git.gitorious.org/go-pkg/epub.git" "git.gitorious.org/go-pkg/epub.git"
"log"
"net/http" "net/http"
"os" "os"
"os/exec" "os/exec"
"regexp" "regexp"
"strconv" "strconv"
"strings" "strings"
"log"
) )
func storePath(name string) string { func storePath(name string) string {