actually include errors.sh
This commit is contained in:
parent
25c6837c08
commit
f1777ea206
@ -1,10 +0,0 @@
|
|||||||
$ go run errors.go
|
|
||||||
f1 worked: 10
|
|
||||||
f1 failed: can't work with 42
|
|
||||||
f2 worked: 10
|
|
||||||
f2 failed: 42 - can't work with it
|
|
||||||
42
|
|
||||||
can't work with it
|
|
||||||
|
|
||||||
# See this [great post](http://blog.golang.org/2011/07/error-handling-and-go.html)
|
|
||||||
# on the Go blog for more on error handling in Go.
|
|
Loading…
x
Reference in New Issue
Block a user