Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/martishin/golang-cassandra-example
Golang Cassandra usage example
https://github.com/martishin/golang-cassandra-example
cassandra docker go golang
Last synced: 20 days ago
JSON representation
Golang Cassandra usage example
- Host: GitHub
- URL: https://github.com/martishin/golang-cassandra-example
- Owner: martishin
- Created: 2024-08-28T16:49:34.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-28T18:06:37.000Z (6 months ago)
- Last Synced: 2024-11-19T22:49:05.624Z (3 months ago)
- Topics: cassandra, docker, go, golang
- Language: Go
- Homepage: https://www.martishin.com/posts/golang-cassandra-example
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go Cassandra Example
## Description
This project is a simple example of using Go with Apache Cassandra to manage and analyze data.
It demonstrates how to connect to a Cassandra cluster, create a keyspace and table, insert sample sleep data, and perform basic queries to calculate average sleep time.## Running Locally
* Build Docker images: `docker-compose build`
* Start services: `docker-compose up`## Technologies Used
- [Go](https://go.dev/)
- [Cassandra](https://cassandra.apache.org/_/index.html)
- [GoCQL Driver for Apache Cassandra](https://github.com/apache/cassandra-gocql-driver)
- [Docker](https://www.docker.com/)