(v V, err error)
| 2104 | } |
| 2105 | |
| 2106 | func must[V any](v V, err error) V { |
| 2107 | if err != nil { |
| 2108 | panic(err) |
| 2109 | } |
| 2110 | return v |
| 2111 | } |
| 2112 | |
| 2113 | func takeFirstIP(values ...net.IPNet) net.IPNet { |
| 2114 | return takeFirstF(values, func(v net.IPNet) bool { |
no outgoing calls
no test coverage detected