Bite sized projects made using Golang.
The hello world for CRUD API making. Account creation and update via POST, read whole list or certain account via GET, and delete account via DELETE. Uses gorilla/mux
for routing.
Link shortener like bit.ly and tinyurl. Uses gorilla/mux
for routing and serving html files.
Quiz game that reads from a two column csv file (containing the question on the first column and the answer on the second column). Uses a timer and goroutine to set a time limit for the quiz.
A command line "casino" game using redis
as a database. Uses redigo
so that go
can interact with redis
.
A hello world for learning NSQ
(and docker
) for myself.
If it is your first time running, run docker compose up
on the NSQGo
folder.
Run producer once to make a topic.
Then, run consumer so that consumer will listen to new messages on the topic.
Subsequent producer runs will be consumed by the consumer (as long as consumer is still running).