This is a just-for-fun app to learn some more Go(lang).
It just watches a message queue and does a few things.
I wanted it to be Pokemon themed, and I think the noble Bidoof is the closest to a gopher Pokemon there is. Also, it does do some beaver like activities (builds dams, swims, etc) so I'm guessing it can also "chew" through the message queue 😉
For this to work properly you'll need
- Amqp message queue (I used RabbitMQ)
- Mysql DB with an "attendees" table (see the sql file in the
docs
directory) - Copy the
.env_example
file into.env
and fill out the details (the queue name you specify should already exist) - run
go run bidoof.go
Optionally you can run it as part of a docker-compose stack with the Gist here https://gist.github.com/LastContinue/c7573904228ddda464c798b6817f4792
As the messages roll in (and assuming they are formatted properly) the app will log out what it's doing.