Open gastraight opened 1 year ago
And would for v1 getter.Detect()
in v2 be an equivalent to iterate over client getters?
for _, getter := range client.Getters {
ok, err := getter.Detect(req)
if ok || err != nil {
return req.Src, ok, err
}
}
return req.Src, false, nil
Hi! Please. What is the principal difference for v2 against v1 (in terms of public api) Is extracting a
Request
from aClient
entity the main (only) change? What critical points should be considered for migration steps? Except for cmd/main maybe is there any other examples to disclose the diff?Thanks