I found github.com/gorilla/context had been in maintenance mode, After some search of dependency for it.
I truly just find one place that uses the gorilla context, as follows:
https://github.com/gin-contrib/sessions/blob/master/sessions.go#L64
func Sessions(name string, store Store) gin.HandlerFunc {
return func(c *gin.Context) {
s := &session{name, c.Request, store, nil, false, c.Writer}
c.Set(DefaultKey, s)
defer context.Clear(c.Request)
c.Next()
}
}
even github.com/gorilla/sessionshad removed the dependency, so why we need to keep the dependency?
I found
github.com/gorilla/contexthad been in maintenance mode, After some search of dependency for it.I truly just find one place that uses the gorilla context, as follows:
https://github.com/gin-contrib/sessions/blob/master/sessions.go#L64
even
github.com/gorilla/sessionshad removed the dependency, so why we need to keep the dependency?