Skip to content

yuseferi/gopatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gopatch

Golang REST patch operation.

a simple library to do patch operation on REST.
Getting started

Install gopatch library with go get:

go get github.com/yuseferi/gopatch
Sample code:

....

A sample :
{
    "op": "replace",
    "path": "/field1",
    "value": "NewValue"
}

it does replace operation on field1 and change it's value to NewValue

License

Code is distributed under MIT license, feel free to use it in your proprietary projects as well.

About

Golang REST patch operation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages