Here is an idea to make reading code a bit easier: If gofmt can format this:

f, err:=os.Open(file)
if err!=nil {
   return err
}

as:

f, err:=os.Open(file); if err!=nil { return err }

it would make reading code easier by pushing the error passing code to the
right. This formatting would only be used for passing errors without any
handling.

-- 
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/CAMV2RqrX6ZF85JDV7oNZDM-NwaL%3DAAYXg-oXwS_DSTZwaYd%3DZg%40mail.gmail.com.

Reply via email to