[request] Golang Library
I see in the readme there are plans for Typescript, Python, C++, and Lua on the backend, and Python, C++, and Lua on the client end
I am hoping we can get a golang library as well? A Pure Go implementation would be great for me as I prefer to not use cgo in my projects due compile complications that it can cause if not accounted for (and library overhead),
Thanks for filing this issue! We have this on our radar for future implementation as well 🙂
Woo! as someone who uses go that would be amazing!
Yes please! Go support would be amazing.
Willing to help build it if someone can point me in the right direction. Where's the best place to start digging into the code for adding language support?
Yes please! Go support would be amazing.
Willing to help build it if someone can point me in the right direction. Where's the best place to start digging into the code for adding language support?
You can look at crates/client-api-messages/src/websocket.rs for what a client SDK needs to support, and crates/bindings-sys/src/lib.rs for a module (server-side) language.
Let's do it!!
Is there a language-agnostic test suite definition?
Is there a language-agnostic test suite definition?
Not really. The team mentioned to me that the Rust client SDK test suite is language-agnostic (presumably with regards to the language used on the server), but otherwise no. Parts of the test suites are fairly "factored out" with respect to the module language or client language used, but nothing really comprehensive.
Thanks. I think that's a significant risk for people wanting to implement clients in other languages.
I've just discovered SpacetimeDB and immediately checked if Go support was available! I'd love to contribute to adding support for it as well.
hoping go can be added I would love to use this in my project