diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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 { |