mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Added more documentation and changed param names
This commit is contained in:
parent
c537e496da
commit
eba9dfa1e7
5 changed files with 46 additions and 59 deletions
|
|
@ -21,7 +21,7 @@ func LoadConfig(path string) error {
|
|||
if _, ok := err.(viper.ConfigFileNotFoundError); ok {
|
||||
return fmt.Errorf("config file not found: %w", err)
|
||||
} else {
|
||||
return fmt.Errorf("failed toload config file: %w", err)
|
||||
return fmt.Errorf("failed to load config file: %w", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue