Skip to content

Commit 5845b34

Browse files
authored
Merge pull request #16 from fpatron/update-to-jsonc
Update go.mod
2 parents 52b2361 + ecdc60f commit 5845b34

7 files changed

Lines changed: 8 additions & 8 deletions

File tree

example/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"log"
66
"os"
77

8-
"github.com/fpatron/betterjson"
8+
"github.com/fpatron/jsonc"
99
)
1010

1111
type Metadata struct {
@@ -48,7 +48,7 @@ func main() {
4848
}
4949

5050
var example ExampleData
51-
err = betterjson.Unmarshal(data, &example)
51+
err = jsonc.Unmarshal(data, &example)
5252
if err != nil {
5353
log.Fatalf("Failed to parse example.json: %v", err)
5454
}

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module github.com/fpatron/betterjson
1+
module github.com/fpatron/jsonc
22

33
go 1.26.0

jsonc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package betterjson
1+
package jsonc
22

33
import (
44
"encoding/json"

jsonc_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package betterjson
1+
package jsonc
22

33
import (
44
"encoding/json"

v2/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
module github.com/fpatron/betterjson/v2
1+
module github.com/fpatron/jsonc/v2
22

33
go 1.26.0

v2/jsonc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package betterjson
1+
package jsonc
22

33
import "encoding/json/v2"
44

v2/jsonc_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package betterjson
1+
package jsonc
22

33
import (
44
"encoding/json/v2"

0 commit comments

Comments
 (0)