all: change module to google.golang.org/protobuf
Temporarily remove go.mod, since we can't generate an accurate one until
the corresponding v1 change is submitted.
Change-Id: I1e1ad97f2b455e33f61ffaeb8676289795e47e72
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/177000
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
diff --git a/internal/encoding/json/bench_test.go b/internal/encoding/json/bench_test.go
index 6c3f1d1..db7d761 100644
--- a/internal/encoding/json/bench_test.go
+++ b/internal/encoding/json/bench_test.go
@@ -7,7 +7,7 @@
import (
"testing"
- "github.com/golang/protobuf/v2/internal/encoding/json"
+ "google.golang.org/protobuf/internal/encoding/json"
)
func BenchmarkFloat(b *testing.B) {
diff --git a/internal/encoding/json/decode.go b/internal/encoding/json/decode.go
index 545fb42..27dff34 100644
--- a/internal/encoding/json/decode.go
+++ b/internal/encoding/json/decode.go
@@ -12,7 +12,7 @@
"strconv"
"unicode/utf8"
- "github.com/golang/protobuf/v2/internal/errors"
+ "google.golang.org/protobuf/internal/errors"
)
// call specifies which Decoder method was invoked.
diff --git a/internal/encoding/json/decode_test.go b/internal/encoding/json/decode_test.go
index b402b0a..daf3f7c 100644
--- a/internal/encoding/json/decode_test.go
+++ b/internal/encoding/json/decode_test.go
@@ -9,7 +9,7 @@
"testing"
"unicode/utf8"
- "github.com/golang/protobuf/v2/internal/encoding/json"
+ "google.golang.org/protobuf/internal/encoding/json"
)
type R struct {
diff --git a/internal/encoding/json/encode.go b/internal/encoding/json/encode.go
index f73e224..39a5014 100644
--- a/internal/encoding/json/encode.go
+++ b/internal/encoding/json/encode.go
@@ -8,7 +8,7 @@
"strconv"
"strings"
- "github.com/golang/protobuf/v2/internal/errors"
+ "google.golang.org/protobuf/internal/errors"
)
// Encoder provides methods to write out JSON constructs and values. The user is
diff --git a/internal/encoding/json/encode_test.go b/internal/encoding/json/encode_test.go
index d3f0afd..3f85f65 100644
--- a/internal/encoding/json/encode_test.go
+++ b/internal/encoding/json/encode_test.go
@@ -9,9 +9,9 @@
"strings"
"testing"
- "github.com/golang/protobuf/v2/internal/encoding/json"
"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
+ "google.golang.org/protobuf/internal/encoding/json"
)
// splitLines is a cmpopts.Option for comparing strings with line breaks.
diff --git a/internal/encoding/json/string.go b/internal/encoding/json/string.go
index 7f70cff..1d89aca 100644
--- a/internal/encoding/json/string.go
+++ b/internal/encoding/json/string.go
@@ -12,7 +12,7 @@
"unicode/utf16"
"unicode/utf8"
- "github.com/golang/protobuf/v2/internal/errors"
+ "google.golang.org/protobuf/internal/errors"
)
func appendString(out []byte, in string) ([]byte, error) {