Linter configuration and linting.
This commit is contained in:
@@ -41,9 +41,7 @@ func Initialize(app *application.Application) error {
|
||||
}
|
||||
|
||||
func (d *database) Configure() error {
|
||||
if err := d.configureDBPath(); err != nil {
|
||||
return fmt.Errorf("configure: %w", err)
|
||||
}
|
||||
d.configureDBPath()
|
||||
|
||||
db, err := sqlx.Open("sqlite", d.dbPath)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user