diff --git a/go.mod b/go.mod index d1eb777..593b370 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/dcilke/hz go 1.18 require ( - github.com/francoispqt/gojay v1.2.13 + github.com/dcilke/gojay v1.2.15 github.com/jessevdk/go-flags v1.5.0 github.com/mattn/go-colorable v0.1.12 ) @@ -12,6 +12,3 @@ require ( github.com/mattn/go-isatty v0.0.14 // indirect golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6 // indirect ) - -// Replace default gojay with github.com/dcilke/gojay fork for Decoder.ReadByte() goodness -replace github.com/francoispqt/gojay v1.2.13 => github.com/dcilke/gojay v1.2.14 diff --git a/go.sum b/go.sum index b29f991..d90839e 100644 --- a/go.sum +++ b/go.sum @@ -18,6 +18,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/dcilke/gojay v1.2.14 h1:FAqFDPZKgg3FVRJ5IfPnFVRPF8uIpJv2OxFkY7jw8HY= github.com/dcilke/gojay v1.2.14/go.mod h1:ehT5mTG4ua4581f1++1WLG0vPdaA9HaiDsoyrBGkyDY= +github.com/dcilke/gojay v1.2.15 h1:sb45ro1bZ9QgzgxYYrA4QGjNIkxo9R0QTpuMI9boag4= +github.com/dcilke/gojay v1.2.15/go.mod h1:/glM9szaBVVnuxmiSqzrbWfFDEyncarHqADznC3PGTg= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= diff --git a/main.go b/main.go index 99b98eb..7c9b2da 100644 --- a/main.go +++ b/main.go @@ -8,7 +8,7 @@ import ( "os/signal" "syscall" - "github.com/francoispqt/gojay" + "github.com/dcilke/gojay" "github.com/jessevdk/go-flags" )