Skip to content

Commit

Permalink
Merge pull request #21 from twpayne/v3
Browse files Browse the repository at this point in the history
feat: bump version to v3
  • Loading branch information
twpayne committed Mar 6, 2024
2 parents df0e796 + 1cfee3b commit fea5092
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# go-jsonstruct

[![PkgGoDev](https://pkg.go.dev/badge/github.com/twpayne/go-jsonstruct/v2)](https://pkg.go.dev/github.com/twpayne/go-jsonstruct/v2)
[![PkgGoDev](https://pkg.go.dev/badge/github.com/twpayne/go-jsonstruct/v3)](https://pkg.go.dev/github.com/twpayne/go-jsonstruct/v3)

Generate Go structs from multiple JSON objects.

Expand Down Expand Up @@ -32,7 +32,7 @@ Go program. Example collections include:
Install go-jsonstruct:

```sh
go install github.com/twpayne/go-jsonstruct/v2/cmd/gojsonstruct@latest
go install github.com/twpayne/go-jsonstruct/v3/cmd/gojsonstruct@latest
```

Feed it some JSON objects. For example you can feed it with
Expand Down
2 changes: 1 addition & 1 deletion cmd/gojsonstruct/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/spf13/pflag"

"github.com/twpayne/go-jsonstruct/v2"
"github.com/twpayne/go-jsonstruct/v3"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/twpayne/go-jsonstruct/v2
module github.com/twpayne/go-jsonstruct/v3

go 1.21

Expand Down

0 comments on commit fea5092

Please sign in to comment.