Imports github.com/dgraph-io/badger github.com/hashicorp/go-retryablehttp github.com/rs/cors github.com/tdewolff/canvas github.com/tdewolff/canvas/renderers Standard library imports bytes encoding/json fmt image/color image/png io log math mime/multipart net/http net/url os regexp strconv time