Closed bramvbilsen closed 3 years ago
don't ignore errors
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For questions please refer to https://github.com/golang/go/wiki/Questions
What version of Go are you using (
go version
)?What did you do?
I am trying to send some data to a webserver before the app starts. I am using the basic example app template included in gomobile. I added the following code at the start of main:
I inserted it at the start of main:
What did you expect to see?
A log on my webserver and the app not crashing.
What did you see instead?
No log on my webserver and the app crashes.