remove unncessary global

This commit is contained in:
Artem Titoulenko 2021-12-16 19:46:01 -05:00
parent a5d86c47e5
commit 0b40a2d6cf

View file

@ -26,8 +26,6 @@ const (
SRV_ADDRESS = SRV_HOST + ":" + SRV_PORT SRV_ADDRESS = SRV_HOST + ":" + SRV_PORT
) )
var db *bun.DB
func main() { func main() {
// Set up the DB // Set up the DB
sqldb, err := sql.Open(sqliteshim.ShimName, "file::memory:?cache=shared") sqldb, err := sql.Open(sqliteshim.ShimName, "file::memory:?cache=shared")