Begin implementation of formatted barcodes

This commit is contained in:
Fred Boniface
2023-09-02 22:05:46 +01:00
parent d3bd2673e8
commit 4dad1406eb
9 changed files with 87 additions and 4 deletions

View File

@@ -10,10 +10,12 @@ func StartServer() {
fmt.Fprintf(w, "Barcodes")
})
http.HandleFunc("/help", buildPage)
http.HandleFunc("/help", helpTemplate)
http.HandleFunc("/generate", generateBarcode)
http.HandleFunc("/generate/formatted", generateFormattedBarcode)
port := ":8500"
fmt.Printf("Server listening on port %s\n", port)