docs/md: fix unresolved reference (#1928)

This commit is contained in:
Hiroki Isogai
2021-09-09 01:38:47 +09:00
committed by GitHub
parent c1fae17b6c
commit 125bb0c00f

View File

@@ -237,6 +237,7 @@ import (
"log"
"net/http"
"todo"
"todo/ent"
"todo/ent/migrate"
@@ -261,7 +262,7 @@ func main() {
}
// Configure the server and start listening on :8081.
srv := handler.NewDefaultServer(NewSchema(client))
srv := handler.NewDefaultServer(todo.NewSchema(client))
http.Handle("/",
playground.Handler("Todo", "/query"),
)