{"id":16474383,"url":"https://github.com/ibreakthecloud/gql-payload","last_synced_at":"2026-05-11T13:05:43.643Z","repository":{"id":135442200,"uuid":"293822371","full_name":"ibreakthecloud/gql-payload","owner":"ibreakthecloud","description":"GraphQL request body builder :muscle: for Go clients","archived":false,"fork":false,"pushed_at":"2025-02-14T14:20:19.000Z","size":5,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-28T14:46:54.779Z","etag":null,"topics":["client","golang","graphql","hacktoberfest","query","variable"],"latest_commit_sha":null,"homepage":"","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/ibreakthecloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-09-08T13:42:07.000Z","updated_at":"2024-09-03T03:17:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"d4bb131b-14c8-4e11-99e3-5ce4a6f2f5eb","html_url":"https://github.com/ibreakthecloud/gql-payload","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ibreakthecloud/gql-payload","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibreakthecloud%2Fgql-payload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibreakthecloud%2Fgql-payload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibreakthecloud%2Fgql-payload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibreakthecloud%2Fgql-payload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ibreakthecloud","download_url":"https://codeload.github.com/ibreakthecloud/gql-payload/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ibreakthecloud%2Fgql-payload/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32895982,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-10T13:40:02.631Z","status":"online","status_checked_at":"2026-05-11T02:00:05.975Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["client","golang","graphql","hacktoberfest","query","variable"],"created_at":"2024-10-11T12:31:27.632Z","updated_at":"2026-05-11T13:05:43.615Z","avatar_url":"https://github.com/ibreakthecloud.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GQL Payload \ngql-payload returns the request body for the provided query or mutation in Go. It is the strip down version of go based gql-client client only till query builder.\n\n### Example: \n\n**Query**\n```go\ngql := gql.NewField(`\n\tquery GetUserByID($id: String!) {\n\t    getUser (id:$id) {\n\t        name\n\t        email\n\t        phone\n\t        company\n\t    }\n\t}\n`)\n\nreqBody, _ := gql.Var(\"id\", \"b1f6366f-5263-4f9e-864b-dde9af14ea840\").GenerateRequestBody()\nr, _ := http.NewRequest(\"POST\", GQL_SERVER_URL, reqBody)\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibreakthecloud%2Fgql-payload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fibreakthecloud%2Fgql-payload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fibreakthecloud%2Fgql-payload/lists"}