storage/engine.go
Method engine.initSQLDatabase
has 71 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (e *engine) initSQLDatabase() error {
connectionString := e.config.SQL.ConnectionString
if len(connectionString) == 0 {
connectionString = sqliteConnectionString(e.datadir)
}