Skip to content

repo store: Stop using the global dbconn

Created by: asdine

The shared RepoStore type uses the global dbconn connection. In an effort of cleaning up the database package, we must stop using that global handle and instead instantiate the store in the main function of each service using that store, using NewRepoStore, and pass that store to any function/type that needs it.