Updating the Application to Use the SQLite Repository

Learn how to update the application to use the SQLite repository.

Once the SQLite repository is available, we need to update the Pomodoro application to use it.

Updating the root.go file

We update the file root.go to add a new command-line parameter that lets the user specify the database file to use. We bind that flag with viper so the user can set it in the configuration file as well:

Get hands-on with 1400+ tech skills courses.