Join GitHub today
x/blog: the defer, panic and recover entry at the go blog is outdated #30170
Dear all i was reading The defer, panic and recover entry at the go blog until i found this statement:
In the source code of decode.go i try to find "recover" or "panic". Panic is present but recover it isn't! I guess that as time pass, changes to the code occurs and the documention was leave behind outdated.
A gentle person (go.peter.90(at)gmail.com) takes the time to inform me (via gonuts mailing groups) that i will find panic and recovers in encode.go, and i do find those... that show me an example at least! great! but be aware that the example is in the 'marshal' method and not 'unmarshal' as the doc stated.
Well that would be all!