fix a simple typo (#588)

This commit is contained in:
Ted Chen
2021-03-29 23:35:49 +08:00
committed by GitHub
parent ac648d08cb
commit 9db222bf5b

View File

@@ -25,7 +25,7 @@ func LoadConfig(file string, v interface{}, opts ...Option) error {
loader, ok := loaders[path.Ext(file)]
if !ok {
return fmt.Errorf("unrecoginized file type: %s", file)
return fmt.Errorf("unrecognized file type: %s", file)
}
var opt options