We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc376d7 commit f5a698dCopy full SHA for f5a698d
proto/deprecated.go
@@ -11,13 +11,6 @@ import (
11
"strconv"
12
)
13
14
-// Deprecated: Do not use.
15
-const (
16
- ProtoPackageIsVersion1 = true
17
- ProtoPackageIsVersion2 = true
18
- ProtoPackageIsVersion3 = true
19
-)
20
-
21
var (
22
// Deprecated: No longer returned.
23
ErrNil = errors.New("proto: Marshal called with nil")
proto/proto.go
@@ -19,6 +19,13 @@ import (
"google.golang.org/protobuf/runtime/protoimpl"
+const (
+ ProtoPackageIsVersion1 = true
24
+ ProtoPackageIsVersion2 = true
25
+ ProtoPackageIsVersion3 = true
26
+ ProtoPackageIsVersion4 = true
27
+)
28
+
29
// Message is a protocol buffer message.
30
type Message = protoiface.MessageV1
31
0 commit comments