On Mon, Nov 7, 2016 at 9:08 PM <mhhc...@gmail.com> wrote: > Can someone highlight my mistake ?
"The entire test file is presented as the example when it contains a single example function, at least one other function, type, variable, or constant declaration, and no test or benchmark functions. <https://golang.org/pkg/testing/#hdr-Examples>" Your example_main_test.go lacks the condition specified in the "at least" part. -- -j -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.