diff --git a/plugins/db/dbutil/dbservice.go b/plugins/db/dbutil/dbservice.go index 64e4168f..af68c8be 100644 --- a/plugins/db/dbutil/dbservice.go +++ b/plugins/db/dbutil/dbservice.go @@ -14,6 +14,6 @@ type DBService[T DB] struct { DB T } -func (s *DBService[T]) Init(db T) { +func (s *DBService[T]) BindDB(db T) { s.DB = db }