(ctx context.Context, format string)
| 64 | type ctxKey string |
| 65 | |
| 66 | func HideMessage(ctx context.Context, format string) context.Context { |
| 67 | return context.WithValue(ctx, ctxKey(format), true) |
| 68 | } |
| 69 | |
| 70 | func FHidableWarning(ctx context.Context, w io.Writer, format string, a ...any) { |
| 71 | if isHidden(ctx, format) { |
no test coverage detected