func TestNewEqual(t *testing.T) { … } func TestErrorMethod(t *testing.T) { … } func TestNewDetail(t *testing.T) { … } func ExampleNew() { … } // The fmt package's Errorf function lets us use the package's formatting // features to create descriptive error messages. func ExampleNew_errorf() { … }