change Artnr in spricelist from type int to string
This commit is contained in:
parent
d4fe69d4fb
commit
57a5c18caa
|
@ -15,7 +15,7 @@ type SpricelistEntry struct {
|
||||||
Sortiment string
|
Sortiment string
|
||||||
Warengruppe string
|
Warengruppe string
|
||||||
Untergruppe string
|
Untergruppe string
|
||||||
Artnr int
|
Artnr string
|
||||||
Itemname1 string
|
Itemname1 string
|
||||||
Itemname2 string
|
Itemname2 string
|
||||||
Hersteller string
|
Hersteller string
|
||||||
|
@ -111,7 +111,7 @@ func RetrievePricelist(client *http.Client) ([]SpricelistEntry, error) {
|
||||||
priceListEntry.Sortiment = line[0]
|
priceListEntry.Sortiment = line[0]
|
||||||
priceListEntry.Warengruppe = line[1]
|
priceListEntry.Warengruppe = line[1]
|
||||||
priceListEntry.Untergruppe = line[2]
|
priceListEntry.Untergruppe = line[2]
|
||||||
priceListEntry.Artnr = convertStringToInt(line[3])
|
priceListEntry.Artnr = line[3]
|
||||||
priceListEntry.Itemname1 = line[4]
|
priceListEntry.Itemname1 = line[4]
|
||||||
priceListEntry.Itemname2 = line[5]
|
priceListEntry.Itemname2 = line[5]
|
||||||
priceListEntry.Hersteller = line[6]
|
priceListEntry.Hersteller = line[6]
|
||||||
|
|
Loading…
Reference in New Issue