diff --git a/example/main.go b/example/main.go index d2ae7bf..86e62d7 100644 --- a/example/main.go +++ b/example/main.go @@ -5,7 +5,7 @@ import ( "log" "os" - "github.com/fpatron/betterjson" + "github.com/fpatron/jsonc" ) type Metadata struct { @@ -48,7 +48,7 @@ func main() { } var example ExampleData - err = betterjson.Unmarshal(data, &example) + err = jsonc.Unmarshal(data, &example) if err != nil { log.Fatalf("Failed to parse example.json: %v", err) } diff --git a/go.mod b/go.mod index 35e5662..032d35a 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module github.com/fpatron/betterjson +module github.com/fpatron/jsonc go 1.26.0 diff --git a/jsonc.go b/jsonc.go index 74c23a7..25ed607 100644 --- a/jsonc.go +++ b/jsonc.go @@ -1,4 +1,4 @@ -package betterjson +package jsonc import ( "encoding/json" diff --git a/jsonc_test.go b/jsonc_test.go index 00bb25f..10afd71 100644 --- a/jsonc_test.go +++ b/jsonc_test.go @@ -1,4 +1,4 @@ -package betterjson +package jsonc import ( "encoding/json" diff --git a/v2/go.mod b/v2/go.mod index 24460a5..3e8c548 100644 --- a/v2/go.mod +++ b/v2/go.mod @@ -1,3 +1,3 @@ -module github.com/fpatron/betterjson/v2 +module github.com/fpatron/jsonc/v2 go 1.26.0 diff --git a/v2/jsonc.go b/v2/jsonc.go index aeb6fea..783b9cf 100644 --- a/v2/jsonc.go +++ b/v2/jsonc.go @@ -1,4 +1,4 @@ -package betterjson +package jsonc import "encoding/json/v2" diff --git a/v2/jsonc_test.go b/v2/jsonc_test.go index 28734d7..0a439c7 100644 --- a/v2/jsonc_test.go +++ b/v2/jsonc_test.go @@ -1,4 +1,4 @@ -package betterjson +package jsonc import ( "encoding/json/v2"