Closed c-nv-s closed 1 year ago
Hi,
The problem is this line in your code:
sessionManager := scs.New()
By using :=
you are creating and assigning to a sessionManager
variable scoped to the main()
function, not your sessionManager
global variable.
Please try changing it to the following instead:
sessionManager = scs.New()
basic edited version of pgxpool example with chi v5 is constantly panicing: