normalizeDriverValue runs every registered ValueNormalizer over the value. Each normalizer returns the input unchanged when it doesn't claim it; the final value is whatever the chain produced (or the original input if no normalizers ran or none matched).
(v any)
| 38 | // final value is whatever the chain produced (or the original input if no |
| 39 | // normalizers ran or none matched). |
| 40 | func normalizeDriverValue(v any) any { |
| 41 | hooks, _ := driverNormalizers.Load().([]ValueNormalizer) |
| 42 | for _, h := range hooks { |
| 43 | v = h(v) |
| 44 | } |
| 45 | return v |
| 46 | } |
no outgoing calls
no test coverage detected