Evstigneev Denis
38c5fe8b5a
All checks were successful
test / test (push) Successful in 42s
## Pull Request template Please, go through these steps before clicking submit on this PR. 1. Give a descriptive title to your PR. 2. Provide a description of your changes. 3. Make sure you have some relevant tests. 4. Put `closes #XXXX` in your comment to auto-close the issue that your PR fixes (if applicable). **PLEASE REMOVE THIS TEMPLATE BEFORE SUBMITTING** Reviewed-on: #369 Co-authored-by: Evstigneev Denis <danteevstigneev@yandex.ru> Co-committed-by: Evstigneev Denis <danteevstigneev@yandex.ru>
15 lines
297 B
Go
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
|
|
}
|