summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/main.go b/main.go
index 0cf7e35..9394aa6 100644
--- a/main.go
+++ b/main.go
@@ -5,7 +5,6 @@ import (
"fmt"
"html/template"
"io/fs"
- "math"
"net/http"
"os"
"strconv"
@@ -31,10 +30,6 @@ func create_pdf_url(year string, knumber string) string {
}
}
-func pageCount(total int, perPage int) int {
- return int(math.Ceil(float64(total) / float64(perPage)))
-}
-
func main() {
err := godotenv.Load(".env")
if err != nil {