Merge tag 'nektos/v0.2.61'

This commit is contained in:
Jason Song
2024-04-01 14:23:16 +08:00
15 changed files with 472 additions and 160 deletions

View File

@@ -52,7 +52,7 @@ func Masks(ctx context.Context) *[]string {
return &[]string{}
}
// WithLogger adds a value to the context for the logger
// WithMasks adds a value to the context for the logger
func WithMasks(ctx context.Context, masks *[]string) context.Context {
return context.WithValue(ctx, masksContextKeyVal, masks)
}