api.spaceplanner.app

Spaceplanner API
git clone git://jacobedwards.org/api.spaceplanner.app
Log | Files | Refs

patch.go (265B)


      1 package backend
      2 
      3 var (
      4 	PatchNew = "new"
      5 	PatchReplace = "replace"
      6 	PatchRemove = "remove"
      7 )
      8 
      9 type Patch struct {
     10 	Op string `json:"op" binding:"required"`
     11 	Path string `json:"path" binding:"required"`
     12 	From string `json:"from"`
     13 	Value interface{} `json:"value"`
     14 }