func WithResolveFunc(f func(string) (resolver.Address, error)) Option {
	return func(r *Resolver) {
		r.resolveFunc = f
	}
}
// WithResolveFunc will override the Resolve function implementation.
WithResolveFunc will override the Resolve function implementation.
// WithResolveFunc will override the Resolve function implementation .
func WithResolveFunc(f func(string) (resolver.Address, error)) Option {
	return func(r *Resolver) {
		r.resolveFunc = f
	}
}
func WithResolveFunc ( f func ( string ) ( resolver . Address , error ) ) Option { return func ( r * Resolver ) { r . resolveFunc = f } }
WithResolveFunc will override the Resolve function implementation.
WithResolveFunc will override the Resolve function implementation .