Skip to content

Commit

Permalink
Version 2
Browse files Browse the repository at this point in the history
The start of v2 refactoring
  • Loading branch information
maguro committed Nov 22, 2024
1 parent ddc4381 commit eede671
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions blob.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions cmd/pbf/info/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion cmd/pbf/info/info_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (

"github.com/stretchr/testify/assert"

"m4o.io/pbf"
"m4o.io/pbf/v2"
)

func TestRunInfo(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions cmd/pbf/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (

"github.com/destel/rill"

"m4o.io/pbf/internal/core"
"m4o.io/pbf/v2/internal/core"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion decoder_elements.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"io"
"os"

parser "m4o.io/pbf"
parser "m4o.io/pbf/v2"
)

func Example() {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module m4o.io/pbf
module m4o.io/pbf/v2

go 1.23

Expand Down

0 comments on commit eede671

Please sign in to comment.