From dacf4cbb7705bc9f9c5a2856785e93e50a86df36 Mon Sep 17 00:00:00 2001 From: Toan Nguyen Date: Tue, 26 Mar 2024 13:14:43 +0700 Subject: [PATCH] add ndc-go connector to registry (#135) --- registry/go/README.md | 17 +++++++++++ registry/go/logo.svg | 60 +++++++++++++++++++++++++++++++++++++++ registry/go/metadata.json | 57 +++++++++++++++++++++++++++++++++++++ 3 files changed, 134 insertions(+) create mode 100644 registry/go/README.md create mode 100644 registry/go/logo.svg create mode 100644 registry/go/metadata.json diff --git a/registry/go/README.md b/registry/go/README.md new file mode 100644 index 00000000..2b108ff1 --- /dev/null +++ b/registry/go/README.md @@ -0,0 +1,17 @@ +## 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. + +- [GitHub Repository](https://github.com/hasura/ndc-sdk-go) + +## How to Use + +See the README file in the boilerplate which is generated from [this template](https://github.com/hasura/ndc-sdk-go/blob/main/cmd/ndc-go-sdk/templates/new/README.md.tmpl), or see [README of the generation tool on the GitHub repository](https://github.com/hasura/ndc-sdk-go/blob/main/cmd/ndc-go-sdk/README.md) for more context. + +## Compatibility + +| Go Version | SDK Version | +| ---------- | ----------- | +| 1.21+ | v1.x | +| 1.19+ | v0.x | diff --git a/registry/go/logo.svg b/registry/go/logo.svg new file mode 100644 index 00000000..64e96207 --- /dev/null +++ b/registry/go/logo.svg @@ -0,0 +1,60 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/registry/go/metadata.json b/registry/go/metadata.json new file mode 100644 index 00000000..c30f5675 --- /dev/null +++ b/registry/go/metadata.json @@ -0,0 +1,57 @@ +{ + "overview": { + "namespace": "hasura", + "description": "The Go connector allows you to expose Go functions as NDC functions/procedures for use in your Hasura DDN subgraphs.", + "title": "Go Connector", + "logo": "logo.svg", + "tags": ["Go"], + "latest_version": "v1.0.0" + }, + "author": { + "support_email": "support@hasura.io", + "homepage": "https://hasura.io", + "name": "Hasura" + }, + "is_verified": true, + "is_hosted_by_hasura": false, + "packages": [ + { + "version": "v1.0.0", + "uri": "https://github.com/hasura/ndc-sdk-go/releases/download/v1.0.0/connector-definition.tgz", + "checksum": { + "type": "sha256", + "value": "906db79cf5565eaca731436180295d2d7ee81246b57cc7dcdde14585841f53a5" + }, + "source": { + "hash": "42259e9a9c719131721f0058c552e9b8a4a36973" + } + }, + { + "version": "v0.4.0", + "uri": "https://github.com/hasura/ndc-sdk-go/releases/download/v0.4.0/connector-definition.tgz", + "checksum": { + "type": "sha256", + "value": "13e6c4e970e032307cbb9edbb9d79ad555880c46d8a58d98f23ce441cef7d7b2" + }, + "source": { + "hash": "ac27498b6dbd5e803ca97e0fc702f52e2d9b429d" + } + } + ], + "source_code": { + "is_open_source": true, + "repository": "https://github.com/hasura/ndc-sdk-go", + "version": [ + { + "tag": "v1.0.0", + "hash": "42259e9a9c719131721f0058c552e9b8a4a36973", + "is_verified": true + }, + { + "tag": "v0.4.0", + "hash": "ac27498b6dbd5e803ca97e0fc702f52e2d9b429d", + "is_verified": true + } + ] + } +}