fix a simple typo (#588)

master
Ted Chen 4 years ago committed by GitHub
parent ac648d08cb
commit 9db222bf5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save