From 65f0a041ad259628757cfdee8f850ccaddc545cb Mon Sep 17 00:00:00 2001 From: godcong Date: Fri, 13 Dec 2024 23:27:38 +0800 Subject: [PATCH] refactor(security): correct naming inconsistency in security contexts - Rename ContentTypeMetadata to ContextTypeMetadata for consistency with other context types --- security/security.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/security/security.go b/security/security.go index 5ff4200..b704a9d 100644 --- a/security/security.go +++ b/security/security.go @@ -14,8 +14,8 @@ const ( ContextTypeContext TokenType = iota // ContextTypeHeader represents the context type for the header. ContextTypeHeader - // ContentTypeMetadata represents the context type for the metadata. - ContentTypeMetadata + // ContextTypeMetadata represents the context type for the metadata. + ContextTypeMetadata // ContextTypeQuery represents the context type for the query. ContextTypeQuery // ContextTypeCookie represents the context type for the cookie.