impl entities except for PATCH

This commit is contained in:
breel
2020-08-08 12:01:49 -06:00
parent 1655a9b83a
commit f88ade0d73
25 changed files with 195 additions and 33 deletions

View File

@@ -4,7 +4,6 @@ import (
"local/dndex/config"
"local/dndex/server"
"local/dndex/storage"
"local/dndex/view"
"log"
)
@@ -14,9 +13,8 @@ func main() {
c := config.New()
log.Println(c)
g := storage.NewRateLimitedGraph()
view.GitCommit = GitCommit
server.GitCommit = GitCommit
if err := view.JSON(g); err != nil {
if err := server.Listen(g); err != nil {
panic(err)
}
}