Created
October 12, 2016 20:54
-
-
Save mlowicki/8d5943f4372422a33ac3c547ce658790 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
> go install github.com/mlowicki/lab && ./bin/lab | |
Before defer statement | |
After defer statement | |
panic: runtime error: invalid memory address or nil pointer dereference | |
[signal 0xb code=0x1 addr=0x0 pc=0x549b3] | |
goroutine 1 [running]: | |
panic(0xda6c0, 0x8201c80e0) | |
/usr/local/go/src/runtime/panic.go:481 +0x3e6 | |
main.main() | |
/Users/mlowicki/projects/golang/spec/src/github.com/mlowicki/lab/lab.go:11 +0x1d5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment