golang exception。Problem solving golang code has a lot of "if err! = Nil {}"