todo-api

module
v0.0.0-...-342cda4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2021 License: MIT

README

Go Doc Go Report Card GitHub stars

todo-api

run on docker 🚢

 docker-compose up -d  
 docker exec -it cassandra cqlsh; 
Screen Shot 2021-11-08 at 15 46 57
CREATE KEYSPACE todo WITH replication = {'class':'SimpleStrategy', 'replication_factor' : 1};
use todo

create table todo (id text primary key, title text, content text);

select * from todo

used packages 📦

  • Web framework: go get -u github.com/gin-gonic/gin
  • Read Configuration file : go get -u github.com/spf13/viper
  • Logging : go get -u github.com/sirupsen/logrus
  • Cassandra : go get -u github.com/gocql/gocql

documentation: Related Post. ✏ 📖

Directories

Path Synopsis
src

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL