Closed Dontmindmes closed 4 years ago
@Dontmindmes can you please post your code samples as text, not images.
https://github.com/Dontmindmes/GHome-Athan-System/blob/master/Application/main.go This is the code im trying to run, https://i.imgur.com/KKguTYj.png
The error handling on this line is not correct
https://github.com/Dontmindmes/GHome-Athan-System/blob/master/Application/main.go#L161
If an error occurs then the state of any other variables returned becomes unknown and they cannot be used safely.
Thank you for raising this issue. 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 asking questions, see:
Stack Overflow with questions tagged "go"
The Go Forum, a web-based forum
Gophers Slack, use the invite app for access. The #general
channel is a good starting point.
Go Community on Hashnode with questions and posts tagged with "go"
IRC channel #go-nuts on Freenode
https://i.imgur.com/1VkYgnG.png
This is the code im using https://i.imgur.com/SPGClVC.png
`The system cannot find the path specified. panic: time: missing Location in call to Time.In
goroutine 1 [running]: time.Time.In(...) c:/go/src/time/time.go:1126 main.main()`
When I run this on my machine with Go installed it runs perfectly but when I compile and run on my NUC with no golang installed it causes that error, Windows 10 home