{"repo":"gqlgo/gqlgenc","free":true,"listed":false,"github":"https://github.com/gqlgo/gqlgenc","clone":"git clone https://github.com/gqlgo/gqlgenc.git","description":"This is Go library for building GraphQL client with gqlgen","language":"Go","stars":407,"topics":["golang","go","graphql"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"gqlgenc What is gqlgenc ? This is Go library for building GraphQL client with gqlgen Motivation Now, if you build GraphQL api client for Go, have choice: - github.com/shurcooL/graphql - github.com/machinebox/graphql These libraries are very simple and easy to handle. However, as I work with gqlgen and graphql-code-generator every day, I find out the beauty of automatic generation. So I want to automatically generate types. Installation How to use Client Codes Only gqlgenc base is gqlgen with plugins. So the setting is yaml in each format. gqlgenc can be configured using a .gqlgenc.yml file Load a schema from a remote server: Load a schema from a local file: Execute the following command on same directory for .gqlgenc.yml or if you want to specify a different directory where .gqlgenc.yml file resides (e.g. in this example the directory is schemas ): With gqlgen Do this when creating a server and client for Go. You create your own entrypoint for gqlgen. This use case is very useful for testing your server. Documents - How to configure gqlgen using gqlgen.yml - How to write plugins for gqlgen Comments Japanese Comments These codes have Japanese comments. Replace with English. Subscription This client does not support subscription. If you need a subscription, please create an issue or pull request. Pre-conditions clientgenv2 is created based on modelgen. So if you don't have a modelgen, it may be a mysterious move.","default_branch":null,"files":null,"tree":[],"storefront":"/r/gqlgo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gqlgo/gqlgenc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}