Browse Source

vendor: use "ugorji/go" v1.1.1

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 7 years ago
parent
commit
ab89af6dd3
2 changed files with 2 additions and 5 deletions
  1. 2 1
      Gopkg.lock
  2. 0 4
      vendor/github.com/ugorji/go/codec/decode.go

+ 2 - 1
Gopkg.lock

@@ -225,7 +225,8 @@
 [[projects]]
   name = "github.com/ugorji/go"
   packages = ["codec"]
-  revision = "f3cacc17c85ecb7f1b6a9e373ee85d1480919868"
+  revision = "b4c50a2b199d93b13dc15e78929cfb23bfdf21ab"
+  version = "v1.1.1"
 
 [[projects]]
   name = "github.com/urfave/cli"

+ 0 - 4
vendor/github.com/ugorji/go/codec/decode.go

@@ -2382,10 +2382,6 @@ func (d *Decoder) wrapErrstr(v interface{}, err *error) {
 	*err = fmt.Errorf("%s decode error [pos %d]: %v", d.hh.Name(), d.r.numread(), v)
 }
 
-func (d *Decoder) NumBytesRead() int {
-	return d.r.numread()
-}
-
 // --------------------------------------------------
 
 // decSliceHelper assists when decoding into a slice, from a map or an array in the stream.