item repository and api progress.

This commit is contained in:
2022-04-19 00:57:40 +02:00
parent 5ec3d938ab
commit b2624dc4ab
23 changed files with 1830 additions and 347 deletions
+1
View File
@@ -34,6 +34,7 @@ func main() {
}
api.Scopes(server.Group("/api/scopes"), db)
api.Items(server.Group("/api/scope/:scope_id/items"), db)
exitSignal := make(chan os.Signal)
signal.Notify(exitSignal, os.Interrupt, os.Kill, syscall.SIGTERM)