A simple project for leisure time to play around with GoLang. The application allows associating a generic string to string map with a random code that can be rendered as a QR code. From this code, it's possible to trace back to the initial map. The application provides a simple REST API interface.
This is a work in progress, and considering the fact I do not really have free time, it will probably not evolve more than that.
go run main.go
Request
curl -X POST localhost:8080/qr --data {"a": "1", "b": "B", "c": "false"}
Response
{"success":true,"error":"","code":"NFSHE1IZ"}
Request
curl -X GET localhost:8080/qr/NFSHE1IZ
Response
{"success":true,"error":"","data":{"a":"1","b":"B","c":"false"}}
curl -X GET localhost:8080/qr/render/NFSHE1IZ
curl -X GET localhost:8080/qr/render/NFSHE1IZ/page/2/of/4