mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-12 19:39:35 +03:00
Fix typos (#3527)
This commit is contained in:
@ -7,7 +7,7 @@ import (
|
||||
|
||||
// CommandEnvHolder is a struct holds the environment info of commands
|
||||
type CommandEnvHolder struct {
|
||||
// Excutable name of current binary
|
||||
// Executable name of current binary
|
||||
Exec string
|
||||
// commands column width of current command
|
||||
CommandsWidth int
|
||||
|
@ -43,7 +43,7 @@ func init() {
|
||||
case io.Reader:
|
||||
return serial.LoadJSONConfig(v)
|
||||
default:
|
||||
return nil, errors.New("unknow type")
|
||||
return nil, errors.New("unknown type")
|
||||
}
|
||||
},
|
||||
}))
|
||||
|
@ -43,7 +43,7 @@ func init() {
|
||||
case io.Reader:
|
||||
return serial.LoadTOMLConfig(v)
|
||||
default:
|
||||
return nil, errors.New("unknow type")
|
||||
return nil, errors.New("unknown type")
|
||||
}
|
||||
},
|
||||
}))
|
||||
|
@ -43,7 +43,7 @@ func init() {
|
||||
case io.Reader:
|
||||
return serial.LoadYAMLConfig(v)
|
||||
default:
|
||||
return nil, errors.New("unknow type")
|
||||
return nil, errors.New("unknown type")
|
||||
}
|
||||
},
|
||||
}))
|
||||
|
Reference in New Issue
Block a user