Skip to content

Commit

Permalink
use forked gojay as primary
Browse files Browse the repository at this point in the history
  • Loading branch information
dcilke committed Aug 8, 2022
1 parent c7f956e commit cf27de1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 1 addition & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand All @@ -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
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"os/signal"
"syscall"

"github.com/francoispqt/gojay"
"github.com/dcilke/gojay"
"github.com/jessevdk/go-flags"
)

Expand Down

0 comments on commit cf27de1

Please sign in to comment.