These are chat archives for gin-gonic/gin

5th
Nov 2016
Florent Clairambault
@fclairamb
Nov 05 2016 22:31
Hi guys, I'm wondering about something: It seems we are supposed to use https://github.com/gin-contrib/cors instead of https://github.com/gin-gonic/contrib/tree/master/cors from now on. Switching to gopkg is good. But there are other contribs like session that are missing from gin-contrib and aren't compatible.
cannot use c (type *"gopkg.in/gin-gonic/gin.v1".Context) as type *"github.com/gin-gonic/gin".Context in argument to "github.com/gin-gonic/contrib/sessions".Default
What is the status around this ? What session middleware should we use ?
Thomas Boerger
@tboerger
Nov 05 2016 23:56
we need to migrate more middlewares to gin-contrib :(