Revert "Merge branch 'main' of https://github.com/manojown/authorizer into feat/couchbase-db-support"
This reverts commit2052b850a3
, reversing changes made tofe862a50e5
.
This commit is contained in:
@@ -7,6 +7,8 @@ import (
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
// TODO re-name GinContextKey -> GinContext
|
||||
|
||||
// GinContext to get gin context from context
|
||||
func GinContextFromContext(ctx context.Context) (*gin.Context, error) {
|
||||
ginContext := ctx.Value("GinContextKey")
|
||||
|
Reference in New Issue
Block a user