Revert "Merge branch 'main' of https://github.com/manojown/authorizer into feat/couchbase-db-support"

This reverts commit 2052b850a3, reversing
changes made to fe862a50e5.
This commit is contained in:
manoj
2022-12-29 20:14:06 +05:30
parent 2052b850a3
commit 303c59ac91
45 changed files with 2439 additions and 2002 deletions

View File

@@ -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")