diff --git a/blob.go b/blob.go index 84b704a..fa3fbfb 100644 --- a/blob.go +++ b/blob.go @@ -28,8 +28,8 @@ import ( "github.com/destel/rill" "google.golang.org/protobuf/proto" - "m4o.io/pbf/internal/core" - "m4o.io/pbf/protobuf" + "m4o.io/pbf/v2/internal/core" + "m4o.io/pbf/v2/protobuf" ) type blob struct { diff --git a/cmd/pbf/info/info.go b/cmd/pbf/info/info.go index 22ac508..07105fe 100644 --- a/cmd/pbf/info/info.go +++ b/cmd/pbf/info/info.go @@ -27,8 +27,8 @@ import ( "github.com/dustin/go-humanize" "github.com/spf13/cobra" - "m4o.io/pbf" - "m4o.io/pbf/cmd/pbf/cli" + "m4o.io/pbf/v2" + "m4o.io/pbf/v2/cmd/pbf/cli" ) var ( diff --git a/cmd/pbf/info/info_test.go b/cmd/pbf/info/info_test.go index 921df76..e63c45d 100644 --- a/cmd/pbf/info/info_test.go +++ b/cmd/pbf/info/info_test.go @@ -23,7 +23,7 @@ import ( "github.com/stretchr/testify/assert" - "m4o.io/pbf" + "m4o.io/pbf/v2" ) func TestRunInfo(t *testing.T) { diff --git a/cmd/pbf/main.go b/cmd/pbf/main.go index b97ee5c..efb8a96 100644 --- a/cmd/pbf/main.go +++ b/cmd/pbf/main.go @@ -18,8 +18,8 @@ import ( "fmt" "os" - "m4o.io/pbf/cmd/pbf/cli" - _ "m4o.io/pbf/cmd/pbf/info" + "m4o.io/pbf/v2/cmd/pbf/cli" + _ "m4o.io/pbf/v2/cmd/pbf/info" ) func main() { diff --git a/decoder.go b/decoder.go index 3aa05d2..6edc7ac 100644 --- a/decoder.go +++ b/decoder.go @@ -24,7 +24,7 @@ import ( "github.com/destel/rill" - "m4o.io/pbf/internal/core" + "m4o.io/pbf/v2/internal/core" ) const ( diff --git a/decoder_elements.go b/decoder_elements.go index f4a4694..5dad47f 100644 --- a/decoder_elements.go +++ b/decoder_elements.go @@ -19,7 +19,7 @@ import ( "google.golang.org/protobuf/proto" - "m4o.io/pbf/protobuf" + "m4o.io/pbf/v2/protobuf" ) func parsePrimitiveBlock(buffer []byte) ([]Object, error) { diff --git a/example_test.go b/example_test.go index b4a97c2..7ee331d 100644 --- a/example_test.go +++ b/example_test.go @@ -23,7 +23,7 @@ import ( "io" "os" - parser "m4o.io/pbf" + parser "m4o.io/pbf/v2" ) func Example() { diff --git a/go.mod b/go.mod index 8fa6119..7ec0077 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module m4o.io/pbf +module m4o.io/pbf/v2 go 1.23