{"id":13564107,"url":"https://github.com/matiasanaya/go-graphql-subscription-example","last_synced_at":"2026-02-03T22:40:39.266Z","repository":{"id":68566589,"uuid":"130452737","full_name":"matiasanaya/go-graphql-subscription-example","owner":"matiasanaya","description":"go-graphql subscription example","archived":false,"fork":false,"pushed_at":"2018-11-29T05:24:12.000Z","size":16,"stargazers_count":27,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-04T17:46:19.638Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matiasanaya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-04-21T07:57:09.000Z","updated_at":"2024-02-13T01:15:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"765a64bf-fe2f-412a-a6b6-60655078a8e0","html_url":"https://github.com/matiasanaya/go-graphql-subscription-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matiasanaya%2Fgo-graphql-subscription-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matiasanaya%2Fgo-graphql-subscription-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matiasanaya%2Fgo-graphql-subscription-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matiasanaya%2Fgo-graphql-subscription-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matiasanaya","download_url":"https://codeload.github.com/matiasanaya/go-graphql-subscription-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247082776,"owners_count":20880716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T13:01:26.620Z","updated_at":"2026-02-03T22:40:39.232Z","avatar_url":"https://github.com/matiasanaya.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# GraphQL subscription example\n[![Build Status](https://travis-ci.org/matiasanaya/go-graphql-subscription-example.svg?branch=master)](https://travis-ci.org/matiasanaya/go-graphql-subscription-example)\n\nThis application uses:\n\n* [github.com/graph-gophers/graphql-go](https://github.com/graph-gophers/graphql-go)\n* [github.com/graph-gophers/graphql-transport-ws](https://github.com/graph-gophers/graphql-transport-ws)\n\n## Pre-requisites\n\n**Requires Go 1.11.x** or above, which support Go modules. Read more about them [here](https://github.com/golang/go/wiki/Modules).\n\nRemember to set ```GO111MODULE=on```\n\n## How to use\n\nRun the application:\n\n```\ngo run main.go\n```\n\nNavigate to [localhost:8080](http://localhost:8080) and use GraphiQL to subscribe using the following example:\n\n```\nsubscription onHelloSaid {\n  helloSaid {\n    id\n    msg\n  }\n}\n```\n\nOn a separate tab run:\n\n```\nmutation SayHello{\n  sayHello(msg: \"Hello world!\") {\n    id\n    msg\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatiasanaya%2Fgo-graphql-subscription-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatiasanaya%2Fgo-graphql-subscription-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatiasanaya%2Fgo-graphql-subscription-example/lists"}