...

Package db

import "ssa/spelunker/pkg/db"
Overview
Index

Overview ▾

Package db This file contains the methods and structs to get a connection to the archive database

func GetConnection

func GetConnection(capoProfile string) (*sql.DB, error)

GetConnection Establish a connection to the database and return it

@param capoProfile a string with the CAPO profile to get the database from @param capoPath a string with the path to the CAPO profile