Skip to content

adonmo/go-room-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b4ed606 · Jun 29, 2020

History

19 Commits
Jun 29, 2020
Jun 29, 2020
Jun 27, 2020
Jun 29, 2020
Jun 28, 2020
Jun 28, 2020
Jun 29, 2020

Repository files navigation

go-room-examples

Example Usage of go-room

The main function exposes a command line utility interface with following options:

  • dumpData (true by default) => Dump the data from database after Init (default true)
  • insertSamples (true by default) => Should insert samples after init? (default true)
  • version int (Needs non negative value [1,3]) => Version number of the database schema for which init must be run

Example Usage

go build *.go
./main -version=1

This will initialize the DB for version 1 schema. You can run the command with version=2 or version=3 to check if upgrade works

About

Example Usage of go-room

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages