All Connectors
Go Connector
Go Connector
The Go connector allows you to expose Go functions as NDC functions/procedures for use in your Hasura DDN subgraphs.
About
Overview
The Go connector allows you to expose Go functions as NDC functions/procedures for use in your Hasura DDN subgraphs. The connector provides a boilerplate with NDC Go SDK and a generation tool to generate NDC schema and DRY functions from Go code.
Prerequisites
- Create a Hasura Cloud account
- Please ensure you have the DDN CLI and Docker installed
- Create a supergraph
- Create a subgraph
The steps below explain how to initialize and configure a connector on your local machine (typically for development purposes).You can learn how to deploy a connector to Hasura DDN — after it's been configured — here.
Using the Go connector
Check out the Hasura docs here to get started with the Go connector.
Compatibility
Go Version | SDK Version |
---|---|
1.21+ | v1.x |
1.19+ | v0.x |