add stats repo.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user