Changed code style to match style in "Effective go"

This was just bothering me for a while.