Skip to content

Commit

Permalink
Move recorder and cassette packages to pkg dir
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaeon committed Aug 18, 2024
1 parent 8ffc18d commit 1389749
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/https_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion examples/json_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/simple_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion recorder/recorder.go → pkg/recorder/recorder.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions recorder/recorder_test.go → pkg/recorder/recorder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1389749

Please sign in to comment.