func (r *Resolver) Resolve(name string) (resolver.Address, error) {
	if r.resolveFunc != nil {
		return r.resolveFunc(name)
	}
	return resolver.Address{}, fmt.Errorf("resolveFunc: %w", ErrNotImplemented)
}
// Resolve implements the Resolver interface.
Resolve implements the Resolver interface.
// Resolve implements the Resolver interface .
func (r *Resolver) Resolve(name string) (resolver.Address, error) {
	if r.resolveFunc != nil {
		return r.resolveFunc(name)
	}
	return resolver.Address{}, fmt.Errorf("resolveFunc: %w", ErrNotImplemented)
}
func ( r * Resolver ) Resolve ( name string ) ( resolver . Address , error ) { if r . resolveFunc != nil { return r . resolveFunc ( name ) } return resolver . Address { } , fmt . Errorf ( " " , ErrNotImplemented ) }
Resolve implements the Resolver interface.
Resolve implements the Resolver interface .