docs: update sqlstore.New example to include context parameter (#1133)

This commit is contained in:
Mahesa authored and GitHub committed 2026-06-11 12:47:16 +03:00
1 parent ae2789723a
commit 089932318b
1 file changed
+1 -1
+1 -1
View File
@@ -227,7 +227,7 @@ const handlerQueueSize = 2048
//
// The device store must be set. A default SQL-backed implementation is available in the store/sqlstore package.
//
// container, err := sqlstore.New("sqlite3", "file:yoursqlitefile.db?_foreign_keys=on", nil)
// container, err := sqlstore.New(context.Background(), "sqlite3", "file:yoursqlitefile.db?_foreign_keys=on", nil)
// if err != nil {
// panic(err)
// }