From 3fb09744cc5264fdf3740364a9c6f6f5b64707cc Mon Sep 17 00:00:00 2001 From: Nikolaus Gotsche Date: Fri, 26 Oct 2018 15:36:21 +0200 Subject: Export tested, structs made Public --- texify.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'texify.go') diff --git a/texify.go b/texify.go index ffa0fba..99a7261 100644 --- a/texify.go +++ b/texify.go @@ -52,10 +52,10 @@ type Data struct { Bic string } -func billTemplate(billdata bill, cust customer) Filenames { +func billTemplate(billdata bill, cust Customer) Filenames { billid := billdata.id custr, cuzip, cucity, cucou := "", "", "", "" - addr := String2StringArray(cust.address, ";") + addr := String2StringArray(cust.Address, ";") for i, a := range addr { switch i { case 0: @@ -75,8 +75,8 @@ func billTemplate(billdata bill, cust customer) Filenames { billdata.identity, billdata.projectname, - cust.company, - cust.name, + cust.Company, + cust.Name, custr, cuzip, cucity, -- cgit v1.2.3