mirror of
https://github.com/spf13/viper
synced 2024-12-22 11:37:02 +00:00
feat: unexport combined finder for now
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
parent
f452b09dd9
commit
c9994ee0c6
1 changed files with 4 additions and 4 deletions
|
@ -20,16 +20,16 @@ type Finder interface {
|
|||
|
||||
// Finders combines multiple finders into one.
|
||||
func Finders(finders ...Finder) Finder {
|
||||
return &CombinedFinder{finders: finders}
|
||||
return &combinedFinder{finders: finders}
|
||||
}
|
||||
|
||||
// CombinedFinder is a Finder that combines multiple finders.
|
||||
type CombinedFinder struct {
|
||||
// combinedFinder is a Finder that combines multiple finders.
|
||||
type combinedFinder struct {
|
||||
finders []Finder
|
||||
}
|
||||
|
||||
// Find implements the [Finder] interface.
|
||||
func (c *CombinedFinder) Find(fsys afero.Fs) ([]string, error) {
|
||||
func (c *combinedFinder) Find(fsys afero.Fs) ([]string, error) {
|
||||
var results []string
|
||||
var errs []error
|
||||
|
||||
|
|
Loading…
Reference in a new issue