func() []string
| 9 | type environKey struct{} |
| 10 | |
| 11 | type EnvironFn func() []string |
| 12 | |
| 13 | func WithEnvironFn(ctx context.Context, fn EnvironFn) context.Context { |
| 14 | return context.WithValue(ctx, environKey{}, fn) |
nothing calls this directly
no outgoing calls
no test coverage detected