diff options
| author | Fuwn <[email protected]> | 2021-07-17 10:59:45 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-07-17 10:59:45 +0000 |
| commit | feecffd260cf00ba5d55b09894979ed9e66604e6 (patch) | |
| tree | 4c9f00692eecf3c9bd828de63cbb24964368ce7d /pkg/database/database.go | |
| parent | feat(route): blog handler for multi-blog support (diff) | |
| download | space-feecffd260cf00ba5d55b09894979ed9e66604e6.tar.xz space-feecffd260cf00ba5d55b09894979ed9e66604e6.zip | |
refactor(route): move hit ticker to db layer
Diffstat (limited to 'pkg/database/database.go')
| -rw-r--r-- | pkg/database/database.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |