func getExportDate() schema.Datum { now := schema.Datum{} t := time.Now() now.Time = &t return now }
func getDateTo() schema.Datum { datum := schema.Datum{} t, err := time.Parse(hunDateForm, os.Args[4]) if err == nil { datum.Time = &t util.Log(datum, "Datum found: %v") } if datum.Time == nil { util.Log("", "Datum not found %s") } return datum }