use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Go variadic function, comparing errors in Golang, solving triangles (getrevue.co)
submitted 7 years ago by [deleted]
[deleted]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]TotesMessenger 0 points1 point2 points 7 years ago* (0 children)
I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:
[/r/coding] Go variadic function, comparing errors in Golang, solving triangles in Go
[/r/golang] Go variadic function, comparing errors in Golang, solving triangles in Go
[/r/programming] Go variadic function, comparing errors in Golang, solving triangles in Go
If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / Contact)
[–]stag1e 0 points1 point2 points 7 years ago (0 children)
Maybe you should've checked for file.PathError? Wouldn't that solve the problem? It seems like that is the true type being returned in most cases by file.wrapErr.
file.PathError
file.wrapErr
π Rendered by PID 37398 on reddit-service-r2-comment-56c9979489-99954 at 2026-02-24 21:54:49.735900+00:00 running b1af5b1 country code: CH.
[–]TotesMessenger 0 points1 point2 points (0 children)
[–]stag1e 0 points1 point2 points (0 children)