mirror of
https://github.com/ent/ent.git
synced 2026-04-28 21:50:56 +03:00
docs/md: fix unresolved reference (#1928)
This commit is contained in:
@@ -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"),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user