From dfa5f9bac60d3aefd2fcb5309e9f399cc2b438da Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 5 Feb 2023 21:21:43 +0400 Subject: [PATCH] Fixed int64 to string conversion. --- web/templates/guestbook.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/templates/guestbook.pug b/web/templates/guestbook.pug index 510a0cd..91de1c1 100755 --- a/web/templates/guestbook.pug +++ b/web/templates/guestbook.pug @@ -57,5 +57,5 @@ block content section#pagination - var n int64 = 1; while n <= pages_count - a(href='/guestbook?p='+string(n))= n + a(href='/guestbook?p='+fmt.Sprint(n))= n - n += 1