Skip to content

A golang key-value store with transactions using a REPL (read-eval-print loop)

Notifications You must be signed in to change notification settings

StuartsHome/key-value-REPL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

key-value-REPL

key-value-REPL is a Go implementation of a key-value store with transactions using a REPL (read-eval-print loop).

How to run

go run main.go

You're able to provide an optional flag name to name the app; otherwise it defaults to the name web-app, e.g.

go run main.go --name="web-app"

Example flow

web-app> Welcome to web-app!
web-app> Type HELP for a list of commands.
web-app> START   
web-app> WRITE 3 3
web-app> WRITE 4 4
web-app> READALL    
Key: 3 Value: 3
Key: 4 Value: 4
web-app> COMMIT
web-app> READALL
web-app> ABORT
web-app> READALL
Key: 3 Value: 3
Key: 4 Value: 4

About

A golang key-value store with transactions using a REPL (read-eval-print loop)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published