Replace GORM with bbolt for database operations

Migrated from GORM to bbolt for lightweight key-value storage, better aligning with project requirements. Updated repository methods to utilize bbolt's native APIs and removed dependencies associated with GORM.
This commit is contained in:
2025-05-09 23:58:48 +05:00
parent f262d5f931
commit 86886fb5d9
7 changed files with 92 additions and 84 deletions

7
db/db.go Normal file
View File

@@ -0,0 +1,7 @@
package db
import "errors"
var (
ErrRecordNotFound = errors.New("record not found")
)