Skip to content

Commit

Permalink
feat: upgrade bsor decoder to v0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
motzel committed Aug 31, 2022
1 parent 0ae2429 commit ff34bc7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@
go.work

# Other
*.log
*.log

# Jetbrains IDE
.idea
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## Usage

```sh
bsor2json.exe filename.bsor > filename.json
bsor2json.exe -f filename.bsor > filename.json
```

### Dependencies
Expand Down
2 changes: 1 addition & 1 deletion bsor2json.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func (argv *rootT) Validate(ctx *cli.Context) error {
}

var root = &cli.Command{
Name: "bsor2json",
Name: "bsor2json v0.3.1",
Desc: "Convert bsor file to json",
Argv: func() interface{} { return new(rootT) },
Fn: func(ctx *cli.Context) error {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.18

require (
github.com/mkideal/cli v0.2.7
github.com/motzel/go-bsor v0.3.0
github.com/motzel/go-bsor v0.3.1
)

require (
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ github.com/mkideal/expr v0.1.0/go.mod h1:vL1DsSb87ZtU6IEjOtUfxw98z0FQbzS8xlGtnPk
github.com/mkideal/pkg v0.1.3/go.mod h1:u/enAxPeRcYSsxtu1NUifWSeOTU/31VsCaOPg54SMJ4=
github.com/motzel/go-bsor v0.3.0 h1:zdtri7YHQtZVNtnO6/l5gV4mwgCcRfSJxVeCwL/eFjs=
github.com/motzel/go-bsor v0.3.0/go.mod h1:46rfFmgCS5qcHmQVShsCnpygHt/LEureIHCcLyr2WCo=
github.com/motzel/go-bsor v0.3.1 h1:ZTzOXwOq8c/WJ7m2XBwygdjWiG0kdXOqmsudUMJkyT0=
github.com/motzel/go-bsor v0.3.1/go.mod h1:46rfFmgCS5qcHmQVShsCnpygHt/LEureIHCcLyr2WCo=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
Expand Down

0 comments on commit ff34bc7

Please sign in to comment.