An example project showing how to use graphql.Subscribe
with GraphQL Playground.
To run the example:
go run main.go
Output:
(subscription-example)-> go run main.go
2021/07/24 18:37:57 GraphQL Server running on [POST]: localhost:8081/graphql
2021/07/24 18:37:57 GraphQL Playground running on [GET]: localhost:8081/graphql
Demo: