Explorar o código

fix a simple typo (#588)

Ted Chen %!s(int64=4) %!d(string=hai) anos
pai
achega
9db222bf5b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      core/conf/config.go

+ 1 - 1
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