micro/resolver/noop/noop.go
Vasiliy Tolstov f3f2a9b737
Some checks failed
coverage / build (push) Failing after 56s
test / test (push) Successful in 2m30s
move to v4
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2025-01-25 15:48:10 +03:00

15 lines
297 B
Go

// Package noop is a noop resolver
package noop
import (
"go.unistack.org/micro/v4/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
}