Skip to content

Commit 2c142bd

Browse files
committed
Remove useless new lines
1 parent 0ca3a3f commit 2c142bd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

examples/server/main.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,19 +79,16 @@ func main() {
7979
},
8080
},
8181
Resolve: func(p graphql.ResolveParams) (interface{}, error) {
82-
8382
id := p.Args["id"].(int)
8483
documents[id].Title = p.Args["title"].(string)
8584
documents[id].Content = p.Args["content"].(string)
8685

8786
for _, subscriptions := range subscriptionManager.Subscriptions() {
8887
for _, subscription := range subscriptions {
89-
9088
// JSON interface is float64
9189
var subID int = int(subscription.Variables["id"].(float64))
9290

9391
if id == subID {
94-
9592
params := graphql.Params{
9693
Schema: schema,
9794
RequestString: subscription.Query,

0 commit comments

Comments
 (0)