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

Go driver #657

Closed nickan2c closed 2 weeks ago

nickan2c commented 2 weeks ago

Usage and product changes

Implement Bazel rules and go Driver. Use test file driver_eg.go to show proof of working import, which now uses the dylib to implement the rust cbind_gen rules. Add a script add_dep.sh to show how to add new external dependencies.

Implementation

Create bazel rules in go/BUILD to generate swig files and dynamic library and use these in the example file to produce an output. Update WORKSPACE to include go rules.

vaticle-bot commented 2 weeks ago

PR Review Checklist

Do not edit the content of this comment. The PR reviewer should simply update this comment by ticking each review item below, as they get completed.


Trivial Change

Code

Architecture

farost commented 2 weeks ago

Let's also put a link to your dependencies PR when you open one. It's crucial to see these PRs together.

farost commented 2 weeks ago

Let's also rename the PR, because it's just a part of the Go driver!

farost commented 2 weeks ago

Let's still rename the PR as it's not exactly the whole Go driver!

farost commented 2 weeks ago

Continuing here: https://github.com/vaticle/typedb-driver/pull/663