From 57a5c18caaf72f41d608d0885eb8a31cc0f8e679 Mon Sep 17 00:00:00 2001 From: Dom Date: Wed, 14 Aug 2019 10:05:15 +0200 Subject: [PATCH] change Artnr in spricelist from type int to string --- fileActions.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fileActions.go b/fileActions.go index 9c9035e..3b1a3ae 100644 --- a/fileActions.go +++ b/fileActions.go @@ -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]