An interactive shell based transactional in-memory key/value store inspired from here. here.
An example script.
> set val1 30
> set val2 55
> begin
> set val1 100
> get val1
100
> commit
> begin
> set val2 200
> get val2
200
> end
> get val2
55
> get val1
100
- Clone the project
- Open the folder in command prompt
- Run "go build"
- Run "KeyValueStore" to run the shell.