We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7465fba commit 4eded96Copy full SHA for 4eded96
examples/server/main.go
@@ -10,12 +10,12 @@ import (
10
log "github.com/sirupsen/logrus"
11
)
12
13
-type Document struct {
+type document struct {
14
Title string `json:"title"`
15
Content string `json:"content"`
16
}
17
18
-var documents = []Document{
+var documents = []document{
19
{Title: "My diary", Content: "Today I had fun with graphqlws"},
20
{Title: "Todo", Content: "Add a complete example"},
21
0 commit comments