Skip to content

Commit

Permalink
Fix doc string for ValueSourceChain
Browse files Browse the repository at this point in the history
  • Loading branch information
meatballhat committed Jun 18, 2023
1 parent ae3b84d commit c3ab5c1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions godoc-current.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1097,8 +1097,8 @@ type ValueSource interface {
type ValueSourceChain struct {
Chain []ValueSource
}
ValueSourceChain is a slice of ValueSource that allows for lookup where the
first ValueSource to resolve is returned
ValueSourceChain contains an ordered series of ValueSource that allows for
lookup where the first ValueSource to resolve is returned

func EnvVars(keys ...string) ValueSourceChain
EnvVars is a helper function to encapsulate a number of envVarValueSource
Expand Down
4 changes: 2 additions & 2 deletions testdata/godoc-v3.x.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1097,8 +1097,8 @@ type ValueSource interface {
type ValueSourceChain struct {
Chain []ValueSource
}
ValueSourceChain is a slice of ValueSource that allows for lookup where the
first ValueSource to resolve is returned
ValueSourceChain contains an ordered series of ValueSource that allows for
lookup where the first ValueSource to resolve is returned

func EnvVars(keys ...string) ValueSourceChain
EnvVars is a helper function to encapsulate a number of envVarValueSource
Expand Down
5 changes: 3 additions & 2 deletions value_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ type ValueSource interface {
Lookup() (string, bool)
}

// ValueSourceChain is a slice of ValueSource that allows for
// lookup where the first ValueSource to resolve is returned
// ValueSourceChain contains an ordered series of ValueSource that
// allows for lookup where the first ValueSource to resolve is
// returned
type ValueSourceChain struct {
Chain []ValueSource
}
Expand Down

0 comments on commit c3ab5c1

Please sign in to comment.