To get the package, execute:
go get gopkg.in/evanphx/json-patch.v4
To import this package, add the following line to your code:
import "gopkg.in/evanphx/json-patch.v4"
For more details, see the API documentation.