summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorNikolaus Gotsche <n@softwarefools.com>2018-10-04 01:00:25 +0200
committerNikolaus Gotsche <n@softwarefools.com>2018-10-04 01:00:25 +0200
commite9bad489128dd526b44b08cc3bed6cce1cb731da (patch)
tree85eda351ea985e240cedf831c1c86111fc4a6c5e /config.go
parenta4a53949409944ae1745a8ab16901fb9a21ac7c4 (diff)
new getNewInput
Diffstat (limited to 'config.go')
-rw-r--r--config.go32
1 files changed, 16 insertions, 16 deletions
diff --git a/config.go b/config.go
index 50ee7db..b77871b 100644
--- a/config.go
+++ b/config.go
@@ -87,22 +87,22 @@ func makeNewTOML(gibts bool) {
config = Config{file,n,n,n,n,n,n,n,n,n,n,n,n,n,n,n}
}
//fmt.Println("Whats Your Namecount\n")
- database := getNewInput("DB File Path: ",config.Database)
- name := getNewInput("Whats your Name?: ",config.Name)
- street := getNewInput("Street: ",config.Street)
- zip := getNewInput("Zip Code: ",config.Zip)
- city := getNewInput("City: ",config.City)
- country := getNewInput("Country: ",config.City)
- telefon := getNewInput("Telefone number: ",config.Telefon)
- mobile := getNewInput("Mobile number: ",config.Mobile)
- mail := getNewInput("Email: ",config.Mail)
- url := getNewInput("URL: ",config.Url)
- taxid := getNewInput("Tax ID: ",config.Taxid)
- bankname := getNewInput("Bank Name: ",config.Bankname)
- bankacc := getNewInput("Bank Account: ",config.Bankacc)
- banklz := getNewInput("BLZ: ",config.Banklz)
- iban := getNewInput("IBAN: ",config.Iban)
- bic := getNewInput("BIC: ",config.Bic)
+ database := getNewInterInput("DB File Path: ",config.Database)
+ name := getNewInterInput("Whats your Name?: ",config.Name)
+ street := getNewInterInput("Street: ",config.Street)
+ zip := getNewInterInput("Zip Code: ",config.Zip)
+ city := getNewInterInput("City: ",config.City)
+ country := getNewInterInput("Country: ",config.City)
+ telefon := getNewInterInput("Telefone number: ",config.Telefon)
+ mobile := getNewInterInput("Mobile number: ",config.Mobile)
+ mail := getNewInterInput("Email: ",config.Mail)
+ url := getNewInterInput("URL: ",config.Url)
+ taxid := getNewInterInput("Tax ID: ",config.Taxid)
+ bankname := getNewInterInput("Bank Name: ",config.Bankname)
+ bankacc := getNewInterInput("Bank Account: ",config.Bankacc)
+ banklz := getNewInterInput("BLZ: ",config.Banklz)
+ iban := getNewInterInput("IBAN: ",config.Iban)
+ bic := getNewInterInput("BIC: ",config.Bic)
conf := Config{database,name,street,zip,city,country,telefon,mobile,mail,url,taxid,bankacc,banklz,bankname,iban,bic}