vaticle / typedb-driver

TypeDB Drivers for Rust, Python, Java, Node.js, C, C++, and C#.
https://typedb.com
Apache License 2.0
30 stars 32 forks source link

Language Driver Request for Golang #627

Open farost opened 2 months ago

farost commented 2 months ago

Golang (or just Go) is a popular language and many Go developers could benefit from using TypeDB driver in their code. Considering the already existing instruments we usually want to see for a target language for our drivers, it seems to be a good aim for us.

SWIG to use our native C functions: check (pay attention to the memory management and how it wraps arrays, some typemaps could be found from the official repo).

Bazel rules: check.

Cucumber lib for BDD: check(official!).

farost commented 1 month ago

The basic checklist, it could be updated with new details in the future:

Base questions:

Initial Bazel setup:

Initial BDD setup:

Initial SWIG setup:

Connection implementation step:

Implementation finish:

nickan2c commented 1 month ago

Choice of Go Version is 1.21 (Go releases)

farost commented 1 month ago

Publishing: https://go.dev/doc/modules/developing