micro/resolver/noop/noop.go
Evstigneev Denis 9d6a44b783
Some checks failed
lint / lint (pull_request) Has been cancelled
pr / test (pull_request) Has been cancelled
fixed struct alignment && refactor linter
2024-12-09 13:07:01 +03:00

15 lines
297 B
Go

// Package noop is a noop resolver
package noop
import (
"go.unistack.org/micro/v3/resolver"
)
// Resolver contains noop resolver
type Resolver struct{}
// Resolve returns the list of nodes
func (r *Resolver) Resolve(_ string) ([]*resolver.Record, error) {
return []*resolver.Record{}, nil
}