You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in http://tip.golang.org/doc/articles/defer_panic_recover.html
"This works, but there is a bug. If the second call to os.Open fails, the function
will return without closing the source file."
Actually, there is a first call to os.Open and a second call, this one to os.Create.
Better phrasing would be "This works, but there is a bug. If the call to os.Create
fails, the function will return without closing the source file."
I know this is minor, but as Go asymptotically nears perfection, the individual
improvements will decrease in magnitude.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: