Created
February 7, 2018 06:22
-
-
Save tomtsang/d0c380658e2030f551cdd82f71e8ebf0 to your computer and use it in GitHub Desktop.
golang-err-pattern3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if err := file.Chmod(0664); err != nil { | |
fmt.Println(err) | |
return err | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment