Browse Source

change Artnr in spricelist from type int to string

incomplete
Dom 1 year ago
parent
commit
57a5c18caa
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      fileActions.go

+ 2
- 2
fileActions.go View File

@ -15,7 +15,7 @@ type SpricelistEntry struct {
Sortiment string
Warengruppe string
Untergruppe string
Artnr int
Artnr string
Itemname1 string
Itemname2 string
Hersteller string
@ -111,7 +111,7 @@ func RetrievePricelist(client *http.Client) ([]SpricelistEntry, error) {
priceListEntry.Sortiment = line[0]
priceListEntry.Warengruppe = line[1]
priceListEntry.Untergruppe = line[2]
priceListEntry.Artnr = convertStringToInt(line[3])
priceListEntry.Artnr = line[3]
priceListEntry.Itemname1 = line[4]
priceListEntry.Itemname2 = line[5]
priceListEntry.Hersteller = line[6]


Loading…
Cancel
Save