add stats repo.

This commit is contained in:
2022-04-30 14:12:30 +02:00
parent a249110622
commit 39bc4fe7e3
19 changed files with 1058 additions and 120 deletions
+1
View File
@@ -36,6 +36,7 @@ func main() {
api.Scopes(server.Group("/api/scopes"), db)
api.Items(server.Group("/api/scope/:scope_id/items"), db)
api.Projects(server.Group("/api/scope/:scope_id/projects"), db)
api.Stats(server.Group("/api/scope/:scope_id/stats"), db)
exitSignal := make(chan os.Signal)
signal.Notify(exitSignal, os.Interrupt, os.Kill, syscall.SIGTERM)