These are chat archives for gin-gonic/gin

3rd
Aug 2018
Shashank Parekh
@sp1rs
Aug 03 2018 11:58
@lxn2 Check the middleware code. Can you paste your code for more debugging?
graham
@grahamannett
Aug 03 2018 21:44
hey, does anyone have a suggestion for passing session cookies into grouped routes instead of calling
session := sessions.Default(c)
user := session.Get("user")
for each route, would using an interface like i am doing for the db be bad?