From feecffd260cf00ba5d55b09894979ed9e66604e6 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sat, 17 Jul 2021 10:59:45 +0000 Subject: refactor(route): move hit ticker to db layer --- pkg/database/database.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/database/database.go') diff --git a/pkg/database/database.go b/pkg/database/database.go index 9d14fa9..8aa658c 100644 --- a/pkg/database/database.go +++ b/pkg/database/database.go @@ -36,7 +36,7 @@ func Get(path string) int { return 0 } - return hit.Count + return hit.Count + 1 } func Create(path string) { -- cgit v1.2.3