Skip to content
This repository has been archived by the owner on Sep 7, 2021. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nhatthm committed Jul 22, 2021
1 parent a0723a3 commit f6c247b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ type Replacer interface {
3. A map or vars (without the `$`) `map[string]string`

```go
var _ = expandog.NewStepExpander(map[string]string{
var _ = expandog.NewStepExpander(expandog.Pairs{
"HUSBAND": "John",
"WIFE": "Jane",
})
Expand All @@ -146,7 +146,7 @@ var _ = expandog.NewStepExpander(map[string]string{
4. A provider that provides a map of vars (without the `$`) `map[string]string`. The provider will be called every step.

```go
var _ = expandog.NewStepExpander(func() map[string]string {
var _ = expandog.NewStepExpander(func() expandog.Pairs {
return map[string]string{
"RAND": fmt.Sprintf("%d", rand.Int63()),
}
Expand Down

0 comments on commit f6c247b

Please sign in to comment.