diff --git a/examples/https_test.go b/examples/https_test.go index 8ec49f9..7e7f893 100644 --- a/examples/https_test.go +++ b/examples/https_test.go @@ -29,7 +29,7 @@ import ( "strings" "testing" - "gopkg.in/dnaeon/go-vcr.v4/recorder" + "gopkg.in/dnaeon/go-vcr.v4/pkg/recorder" ) func TestHTTPS(t *testing.T) { diff --git a/examples/json_test.go b/examples/json_test.go index fbefb32..a2acccb 100644 --- a/examples/json_test.go +++ b/examples/json_test.go @@ -29,7 +29,7 @@ import ( "net/http" "testing" - "gopkg.in/dnaeon/go-vcr.v4/recorder" + "gopkg.in/dnaeon/go-vcr.v4/pkg/recorder" ) // payload is a stripped down version of the payload as received from diff --git a/examples/simple_test.go b/examples/simple_test.go index 51c62ce..a733abb 100644 --- a/examples/simple_test.go +++ b/examples/simple_test.go @@ -29,7 +29,7 @@ import ( "strings" "testing" - "gopkg.in/dnaeon/go-vcr.v4/recorder" + "gopkg.in/dnaeon/go-vcr.v4/pkg/recorder" ) func TestSimple(t *testing.T) { diff --git a/cassette/cassette.go b/pkg/cassette/cassette.go similarity index 100% rename from cassette/cassette.go rename to pkg/cassette/cassette.go diff --git a/cassette/cassette_test.go b/pkg/cassette/cassette_test.go similarity index 100% rename from cassette/cassette_test.go rename to pkg/cassette/cassette_test.go diff --git a/recorder/recorder.go b/pkg/recorder/recorder.go similarity index 99% rename from recorder/recorder.go rename to pkg/recorder/recorder.go index 5acbf22..e08bb47 100644 --- a/recorder/recorder.go +++ b/pkg/recorder/recorder.go @@ -36,7 +36,7 @@ import ( "os" "time" - "gopkg.in/dnaeon/go-vcr.v4/cassette" + "gopkg.in/dnaeon/go-vcr.v4/pkg/cassette" ) // Mode represents the mode of operation of the recorder diff --git a/recorder/recorder_test.go b/pkg/recorder/recorder_test.go similarity index 99% rename from recorder/recorder_test.go rename to pkg/recorder/recorder_test.go index 709297c..c92d5e1 100644 --- a/recorder/recorder_test.go +++ b/pkg/recorder/recorder_test.go @@ -39,8 +39,8 @@ import ( "strings" "testing" - "gopkg.in/dnaeon/go-vcr.v4/cassette" - "gopkg.in/dnaeon/go-vcr.v4/recorder" + "gopkg.in/dnaeon/go-vcr.v4/pkg/cassette" + "gopkg.in/dnaeon/go-vcr.v4/pkg/recorder" ) type testCase struct {