diff --git a/store/store_test.go b/store/store_test.go index 949b9ec..63b216b 100644 --- a/store/store_test.go +++ b/store/store_test.go @@ -1,6 +1,7 @@ package store import ( + "fmt" "net/http" "net/http/httptest" "testing" @@ -265,3 +266,9 @@ func TestNew(t *testing.T) { t.Error(`str.delete should return an error "%s" (actual: %s)`, "database not open", err) } } + +func ExampleNew() { + fmt.Println("This is an example.") + // Output: + // This is an example. +}