Thanks for comments, iant, dfc and minux.
Looks like addressed questionable things on this CL are;
Q1. Example functions should run wherever go runs
No: because go testing says "Example functions without output comments
are compiled but not executed."
Yes: because it's expected as copy-n-paste examples
Q2. Example functions should be compliant with go testing and/or godoc
No: free forms are necessities for consolidated example functions
Yes: because godoc dislikes free forms
Hm, well... okay.
I'll follow adg's opinion because examples are part of godoc.