Skip to content

Commit

Permalink
Fix typos in example_test.go (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelCurrin committed Sep 25, 2021
1 parent 0d8016d commit 3bc7661
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func Example_WalkFields() {
// Auth.Pass: "PASS" "pass" "def-pass" "make it strong"
}

// Just load defaults from struct defenition.
// Just load defaults from struct definition.
//
func Example_Defaults() {
var cfg MyConfig
Expand All @@ -84,7 +84,7 @@ func Example_Defaults() {
// Auth.Pass: def-pass
}

// Load defaults from struct defenition and overwrite with a file.
// Load defaults from struct defunition and overwrite with a file.
//
func Example_File() {
var cfg MyConfig
Expand All @@ -108,7 +108,7 @@ func Example_File() {
// Auth.Pass: json-pass
}

// Load defaults from struct defenition and overwrite with a file.
// Load defaults from struct definition and overwrite with a file.
// And then overwrite with environment variables.
//
func Example_Env() {
Expand Down Expand Up @@ -138,7 +138,7 @@ func Example_Env() {
// Auth.Pass: env-pass
}

// Load defaults from struct defenition and overwrite with a file.
// Load defaults from struct definition and overwrite with a file.
// And then overwrite with environment variables.
// Finally read command line flags.
//
Expand Down

0 comments on commit 3bc7661

Please sign in to comment.