Begin implementation of formatted barcodes
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user