Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Alexendoo
on June 5, 2019
|
parent
|
context
|
favorite
| on:
Proposal: A built-in Go error check function, try
For 3., For use in defer the error return does have to be declared as you'd expect, in the examples it's done in the function signature
func CopyFile(src, dst string) (err error) { ^^^ here
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: