update lint
This commit is contained in:
@@ -18,7 +18,10 @@ func Connect(config model.DBConfig) (*model.Repository, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
runMigrations(db)
|
err = runMigrations(db)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
return &model.Repository{
|
return &model.Repository{
|
||||||
DB: db,
|
DB: db,
|
||||||
}, nil
|
}, nil
|
||||||
|
|||||||
Reference in New Issue
Block a user