Skip to content

Commit e679f79

Browse files
committed
Release version v3
Signed-off-by: Tamal Saha <[email protected]>
1 parent 302cefd commit e679f79

6 files changed

+6
-6
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Build Status](https://travis-ci.org/gomodules/jsonpatch.svg?branch=master)](https://travis-ci.org/gomodules/jsonpatch)
44
[![Go Report Card](https://goreportcard.com/badge/gomodules.xyz/jsonpatch "Go Report Card")](https://goreportcard.com/report/gomodules.xyz/jsonpatch)
5-
[![GoDoc](https://godoc.org/gomodules.xyz/jsonpatch/v2?status.svg "GoDoc")](https://godoc.org/gomodules.xyz/jsonpatch/v2)
5+
[![GoDoc](https://godoc.org/gomodules.xyz/jsonpatch/v3?status.svg "GoDoc")](https://godoc.org/gomodules.xyz/jsonpatch/v3)
66

77
As per http://jsonpatch.com JSON Patch is specified in RFC 6902 from the IETF.
88

@@ -11,7 +11,7 @@ JSON Patch allows you to generate JSON that describes changes you want to make t
1111
## Usage ##
1212

1313
```go
14-
import "gomodules.xyz/jsonpatch/v2"
14+
import "gomodules.xyz/jsonpatch/v3"
1515
```
1616

1717
I tried some of the other "jsonpatch" go implementations, but none of them could diff two json documents and generate format like jsonpatch.com specifies. Here's an example of the patch format:
@@ -33,7 +33,7 @@ package main
3333

3434
import (
3535
"fmt"
36-
"gomodules.xyz/jsonpatch/v2"
36+
"gomodules.xyz/jsonpatch/v3"
3737
)
3838

3939
var simpleA = `{"a":100, "b":200, "c":"hello"}`

v2/go.mod v3/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module gomodules.xyz/jsonpatch/v2
1+
module gomodules.xyz/jsonpatch/v3
22

33
go 1.12
44

v2/go.sum v3/go.sum

File renamed without changes.

v2/jsonpatch.go v3/jsonpatch.go

File renamed without changes.

v2/jsonpatch_json_test.go v3/jsonpatch_json_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"testing"
55

66
"github.com/stretchr/testify/assert"
7-
"gomodules.xyz/jsonpatch/v2"
7+
"gomodules.xyz/jsonpatch/v3"
88
)
99

1010
func TestMarshalNullableValue(t *testing.T) {

v2/jsonpatch_test.go v3/jsonpatch_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

77
jp "github.com/evanphx/json-patch"
88
"github.com/stretchr/testify/assert"
9-
"gomodules.xyz/jsonpatch/v2"
9+
"gomodules.xyz/jsonpatch/v3"
1010
)
1111

1212
var simpleA = `{"a":100, "b":200, "c":"hello"}`

0 commit comments

Comments
 (0)