Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

anilkumarga189 avatar image
anilkumarga189 asked anilkumarga189 edited

How do I connect to AstraDB with GoCQL?

I'm having a specific requirement of using astraDB with GOCQL, trying to connect with it but could not able to make it.

Please help me to get started

astra dbgocqlgolang
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered

I've documented how to connect to Astra DB using the GoCQL driver in question #3753.

The sample source code is available on https://github.com/ErickRamirezAU/astra_gocql_connect.

Nathan Bak from Circle has since published a package that makes it much easier to connect to Astra with GoCQL. Details on https://github.com/NathanBak/easy-cass-go. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.