package web type BarcodeRequest struct { BarcodeType string `json:"barcode_type"` Width int `json:"width"` Height int `json:"height"` ECCLevel int `json:"ecc_level"` Content string `json:"content"` } type FormattedBarcodeRequest struct { BarcodeType string `json:"barcode_type"` Width int `json:"width"` Height int `json:"height"` ECCLevel int `json:"ecc_level"` Format string `json:"format"` Content interface{} `json:"content"` }