Closed thomaspoignant closed 1 month ago
It is not possible to add a conditional option because it has to be set using the NewProvider method.
NewProvider
Ater this PR we should be able to do something like this:
var options = make([]ofrep.Option, 0) options = append(options, ofrep.WithClient(&http.Client{})) ofrep.NewProvider("http://localhost:8016", options...)
This PR
It is not possible to add a conditional option because it has to be set using the
NewProvider
method.Ater this PR we should be able to do something like this: