Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cn0047 authored Oct 11, 2018
1 parent 61e6619 commit 54cce9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ func f1() {
}

func f2() {
defer recover.Any([]error{c.ErrorUsernameBlank, c.ErrorUsernameAlreadyTaken}, func(err interface{}) {
defer recover.Any([]error{ErrorUsernameBlank, ErrorUsernameAlreadyTaken}, func(err interface{}) {
fmt.Printf("got error: %s", err.(error))
})
}
Expand Down

0 comments on commit 54cce9d

Please sign in to comment.