Examples: improvements
tock-ibm opened this issue · comments
Here is a collection of improvements and additions to the current examples.
Refactor
- The
config.go
andconfig.yml
seem to be the same on all examples. Can we put a single copy in a package, sayexamples/util
Asynch and checking validity
- Add example to show how to use asynch commit
- Add example to show how to check that a transaction is valid
- Add example to show the difference between Insert & Put and how to implement them
ACLs
- Show an example of using ACLs
- on record
- on database
- show a tx that turns out non-valid because of ACL violation