From 9db222bf5b98721b55a85b9ffd00583da390eaac Mon Sep 17 00:00:00 2001 From: Ted Chen Date: Mon, 29 Mar 2021 23:35:49 +0800 Subject: [PATCH] fix a simple typo (#588) --- core/conf/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/conf/config.go b/core/conf/config.go index 77d0198b..88d0fa5e 100644 --- a/core/conf/config.go +++ b/core/conf/config.go @@ -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