Linting things.

This commit is contained in:
2019-10-13 16:26:52 +05:00
parent cdc8ecf49b
commit 6a787e7e23
13 changed files with 19 additions and 25 deletions

View File

@@ -33,7 +33,7 @@ func CreateHTML(currentPage int, pages int, linksBase string) string {
}
// First page should always be visible.
var paginationString = ""
var paginationString string
if currentPage == 1 {
paginationString = strings.Replace(string(paginationLinkCurrentRaw), "{pageNum}", strconv.Itoa(currentPage), -1)
} else {