š Building a QR Code Generator & Downloader in Go with GinQR codes are everywhere ā from payments to event check-ins to Wi-Fi sharing. Recently, I built a QR code generator API in Go using Gin that lets you create and download QR codes with just a simple HTTP request.This was a fun project that combines the speed of Go, the flexibility of Gin, and the simplicity of the go-qrcode library.š§ Tech StackGo (Golang)Gin (fast HTTP web framework)go-qrcode (library to generate QR codes)ā” FeaturesGenerate QR codes via GET or POST requests.Return QR codes as PNG images.Option to download with a custom filename.Customizable size, margin, and error correction levels.š ConclusionThis project was a neat way to explore building microservices in Go. With just a few lines of code, we now have a powerful QR code generator API that can easily be extended to support SVGs, logos, or even signed URLs.
š Building a QR Code Generator & Downloader in Go with Gin
