From c261597b9adb827bfa16de8f21ce47ac63bec138 Mon Sep 17 00:00:00 2001 From: Alexander NeonXP Kiryukhin Date: Mon, 29 Jul 2024 02:46:54 +0300 Subject: Сессии в отдельном подпакете MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- middleware/session/bbolt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'middleware/session/bbolt.go') diff --git a/middleware/session/bbolt.go b/middleware/session/bbolt.go index 1068ed8..be484d7 100644 --- a/middleware/session/bbolt.go +++ b/middleware/session/bbolt.go @@ -9,7 +9,7 @@ import ( "go.etcd.io/bbolt" ) -func New(db *bbolt.DB, bucketName []byte) Store { +func NewBoltStore(db *bbolt.DB, bucketName []byte) Store { return &BoltStore{ db: db, bucketName: bucketName, -- cgit v1.2.3