feat(barcodes): Baseline for implementation
This commit is contained in:
4
main.go
4
main.go
@@ -97,9 +97,7 @@ func main() {
|
||||
pdfv1.Post("/cards", handler.GenerateCard)
|
||||
pdfv1.Post("/certificates", handler.GenerateCertificate)
|
||||
|
||||
barcodev1 := v1.Group("/barcodes")
|
||||
|
||||
barcodev1.Get("/:type/:content", handler.GenerateBarcode)
|
||||
v1.Get("/barcodes/:type/:content", handler.GenerateBarcode)
|
||||
|
||||
app.Use(handler.NotFoundHandler)
|
||||
docs.SwaggerInfo.BasePath = "/"
|
||||
|
||||
Reference in New Issue
Block a user