Commit 1c077de5 authored by Jeromy's avatar Jeromy
Browse files

reimport gogo-protobuf to adjust inter package imports

parent 1c6efef4
...@@ -23,11 +23,6 @@ ...@@ -23,11 +23,6 @@
"hash": "QmVCmuhgDFer5MW5737Z8GtBEGpUyEkFnLUv4ASDWnLZdC", "hash": "QmVCmuhgDFer5MW5737Z8GtBEGpUyEkFnLUv4ASDWnLZdC",
"version": "1.0.0" "version": "1.0.0"
}, },
{
"name": "gogo-protobuf",
"hash": "QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR",
"version": "1.0.0"
},
{ {
"name": "go-notifier", "name": "go-notifier",
"hash": "QmRV5aE4LZ4Kw9g2VAMpbEcaT7uz3Z3WxgdW8mzRPLL7g8", "hash": "QmRV5aE4LZ4Kw9g2VAMpbEcaT7uz3Z3WxgdW8mzRPLL7g8",
...@@ -82,6 +77,11 @@ ...@@ -82,6 +77,11 @@
"name": "go-detect-race", "name": "go-detect-race",
"hash": "QmQHGMVmrsgmqUG8ih3puNXUJneSpi13dkcZpzLKkskUkH", "hash": "QmQHGMVmrsgmqUG8ih3puNXUJneSpi13dkcZpzLKkskUkH",
"version": "0.0.0" "version": "0.0.0"
},
{
"name": "gogo-protobuf",
"hash": "QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR",
"version": "0.0.0"
} }
], ],
"language": "go", "language": "go",
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
package codec package codec
import ( import (
"github.com/gogo/protobuf/proto" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/proto"
) )
type Codec interface { type Codec interface {
......
...@@ -12,10 +12,10 @@ It has these top-level messages: ...@@ -12,10 +12,10 @@ It has these top-level messages:
*/ */
package gogoproto package gogoproto
import proto "github.com/gogo/protobuf/proto" import proto "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/proto"
import fmt "fmt" import fmt "fmt"
import math "math" import math "math"
import google_protobuf "github.com/gogo/protobuf/protoc-gen-gogo/descriptor" import google_protobuf "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/protoc-gen-gogo/descriptor"
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal var _ = proto.Marshal
......
...@@ -26,8 +26,8 @@ ...@@ -26,8 +26,8 @@
package gogoproto package gogoproto
import google_protobuf "github.com/gogo/protobuf/protoc-gen-gogo/descriptor" import google_protobuf "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/protoc-gen-gogo/descriptor"
import proto "github.com/gogo/protobuf/proto" import proto "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/proto"
func IsEmbed(field *google_protobuf.FieldDescriptorProto) bool { func IsEmbed(field *google_protobuf.FieldDescriptorProto) bool {
return proto.GetBoolExtension(field.Options, E_Embed, false) return proto.GetBoolExtension(field.Options, E_Embed, false)
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
package io package io
import ( import (
"github.com/gogo/protobuf/proto" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/proto"
"io" "io"
) )
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
package io package io
import ( import (
"github.com/gogo/protobuf/proto" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/proto"
"io" "io"
) )
......
...@@ -30,7 +30,7 @@ package io ...@@ -30,7 +30,7 @@ package io
import ( import (
"encoding/binary" "encoding/binary"
"github.com/gogo/protobuf/proto" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/proto"
"io" "io"
) )
......
...@@ -32,7 +32,7 @@ import ( ...@@ -32,7 +32,7 @@ import (
"bufio" "bufio"
"encoding/binary" "encoding/binary"
"errors" "errors"
"github.com/gogo/protobuf/proto" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/proto"
"io" "io"
) )
......
...@@ -49,7 +49,7 @@ import ( ...@@ -49,7 +49,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/gogo/protobuf/proto" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/proto"
) )
var ( var (
......
...@@ -35,9 +35,9 @@ import ( ...@@ -35,9 +35,9 @@ import (
"reflect" "reflect"
"testing" "testing"
pb "github.com/gogo/protobuf/jsonpb/jsonpb_test_proto" pb "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/jsonpb/jsonpb_test_proto"
"github.com/gogo/protobuf/proto" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/proto"
proto3pb "github.com/gogo/protobuf/proto/proto3_proto" proto3pb "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/proto/proto3_proto"
) )
var ( var (
......
...@@ -22,7 +22,7 @@ It has these top-level messages: ...@@ -22,7 +22,7 @@ It has these top-level messages:
*/ */
package jsonpb package jsonpb
import proto "github.com/gogo/protobuf/proto" import proto "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/proto"
import fmt "fmt" import fmt "fmt"
import math "math" import math "math"
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
package jsonpb package jsonpb
import proto "github.com/gogo/protobuf/proto" import proto "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/proto"
import fmt "fmt" import fmt "fmt"
import math "math" import math "math"
......
...@@ -51,8 +51,8 @@ package defaultcheck ...@@ -51,8 +51,8 @@ package defaultcheck
import ( import (
"fmt" "fmt"
"github.com/gogo/protobuf/gogoproto" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/gogoproto"
"github.com/gogo/protobuf/protoc-gen-gogo/generator" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/protoc-gen-gogo/generator"
"os" "os"
) )
......
...@@ -75,9 +75,9 @@ package description ...@@ -75,9 +75,9 @@ package description
import ( import (
"fmt" "fmt"
"github.com/gogo/protobuf/gogoproto" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/gogoproto"
descriptor "github.com/gogo/protobuf/protoc-gen-gogo/descriptor" descriptor "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/protoc-gen-gogo/descriptor"
"github.com/gogo/protobuf/protoc-gen-gogo/generator" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/protoc-gen-gogo/generator"
) )
type plugin struct { type plugin struct {
......
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
package description package description
import ( import (
"github.com/gogo/protobuf/gogoproto" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/gogoproto"
"github.com/gogo/protobuf/plugin/testgen" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/plugin/testgen"
"github.com/gogo/protobuf/protoc-gen-gogo/generator" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/protoc-gen-gogo/generator"
) )
type test struct { type test struct {
......
...@@ -45,8 +45,8 @@ package embedcheck ...@@ -45,8 +45,8 @@ package embedcheck
import ( import (
"fmt" "fmt"
"github.com/gogo/protobuf/gogoproto" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/gogoproto"
"github.com/gogo/protobuf/protoc-gen-gogo/generator" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/protoc-gen-gogo/generator"
"os" "os"
) )
......
...@@ -38,8 +38,8 @@ This package is subject to change. ...@@ -38,8 +38,8 @@ This package is subject to change.
package enumstringer package enumstringer
import ( import (
"github.com/gogo/protobuf/gogoproto" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/gogoproto"
"github.com/gogo/protobuf/protoc-gen-gogo/generator" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/protoc-gen-gogo/generator"
) )
type enumstringer struct { type enumstringer struct {
......
...@@ -161,11 +161,11 @@ and the following test code: ...@@ -161,11 +161,11 @@ and the following test code:
package equal package equal
import ( import (
"github.com/gogo/protobuf/gogoproto" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/gogoproto"
"github.com/gogo/protobuf/proto" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/proto"
descriptor "github.com/gogo/protobuf/protoc-gen-gogo/descriptor" descriptor "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/protoc-gen-gogo/descriptor"
"github.com/gogo/protobuf/protoc-gen-gogo/generator" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/protoc-gen-gogo/generator"
"github.com/gogo/protobuf/vanity" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/vanity"
) )
type plugin struct { type plugin struct {
......
...@@ -27,9 +27,9 @@ ...@@ -27,9 +27,9 @@
package equal package equal
import ( import (
"github.com/gogo/protobuf/gogoproto" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/gogoproto"
"github.com/gogo/protobuf/plugin/testgen" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/plugin/testgen"
"github.com/gogo/protobuf/protoc-gen-gogo/generator" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/protoc-gen-gogo/generator"
) )
type test struct { type test struct {
......
...@@ -129,9 +129,9 @@ just the like TestProto method which is used to test the NewAFromFace function. ...@@ -129,9 +129,9 @@ just the like TestProto method which is used to test the NewAFromFace function.
package face package face
import ( import (
"github.com/gogo/protobuf/gogoproto" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/gogoproto"
descriptor "github.com/gogo/protobuf/protoc-gen-gogo/descriptor" descriptor "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/protoc-gen-gogo/descriptor"
"github.com/gogo/protobuf/protoc-gen-gogo/generator" "gx/QmchriuyWMcqHha3dG86rQyxoswSUpmLUBjuJ2kotB65qR/gogo-protobuf/protoc-gen-gogo/generator"
"strings" "strings"
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment