code: func WriteOne(ctx context.Context, store Store, op PatchOp, path Path, value interface{}) error {
  	txn, err := store.NewTransaction(ctx, WriteParams)
  	if err != nil {
  		return err
  	}
  
  	if err := store.Write(ctx, txn, op, path, value); err != nil {
  		store.Abort(ctx, txn)
  		return err
  	}
  
  	return store.Commit(ctx, txn)
  }
docs: // WriteOne is a convenience function to write a single value to the provided Store. It
  // will create a new Transaction to perform the write with, and clean up after itself
  // should an error occur.