package generation import ( "fmt" "github.com/boombuler/barcode" "github.com/boombuler/barcode/code93" ) func generateCode93(parameters Parameters) (barcode.Barcode, error) { barcode, err := code93.Encode(parameters.Content, true, true) if err != nil { fmt.Println("Error creating Barcode", err) } return barcode, err }