mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: tweak linter warning
This commit is contained in:
@ -39,12 +39,12 @@ func NewDB(profile *profile.Profile) (store.Driver, error) {
|
||||
return driver, nil
|
||||
}
|
||||
|
||||
func (d *DB) GetDB() *sql.DB {
|
||||
return d.db
|
||||
func (*DB) Type() string {
|
||||
return "postgres"
|
||||
}
|
||||
|
||||
func (d *DB) Type() string {
|
||||
return "postgres"
|
||||
func (d *DB) GetDB() *sql.DB {
|
||||
return d.db
|
||||
}
|
||||
|
||||
func (d *DB) Close() error {
|
||||
|
Reference in New Issue
Block a user