var timingDefinitionInt int
timingDefinitionInt, err = strconv.Atoi("2")
        if err != nil {
            log.Fatalln("file format is incorrect!", err)
        }

errors are just being logged using log.Fatalln(). Instead, just return the 
error.

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/6f6b10df-4715-44bd-9185-408adeb2b159%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to