Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed Oct 15, 2021
1 parent e508d58 commit adc0f63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions env_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1157,15 +1157,15 @@ func ExampleParse_onSet() {
// {Home:/tmp/fakehome Port:3000 IsProduction:false}
}

func ExampleParse_Defaults() {
func ExampleParse_defaults() {
type config struct {
A string `env:"FOO" envDefault:"foo"`
B string `env:"FOO"`
}

// env FOO is not set

var cfg = config{
cfg := config{
A: "A",
B: "B",
}
Expand Down

0 comments on commit adc0f63

Please sign in to comment.