I created a package with examples in the _test.go file and it worked fine. I moved the examples to integration_test.go then example_test.go and now they don't show up in my godoc
The contents of example_test.go is like so:
//+build integration
package gokini
import (
"fmt"
"time"
)
type PrintRecordConsumer struct {
shardID string
}
func ExampleRecordConsumer() {
// SNIP
// Output:
// Checkpointer initializing
// foo
// PrintRecordConsumer Shutdown
}