mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 19:00:54 +00:00
accept @astaxie suggestion: change the sequence adapterName and configPath
This commit is contained in:
parent
e357f6846b
commit
ccce566ba7
@ -312,7 +312,7 @@ func parseConfig(appConfigPath string) (err error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// LoadAppConfig allow developer to apply a config file
|
// LoadAppConfig allow developer to apply a config file
|
||||||
func LoadAppConfig(configPath string, adapterName string) error {
|
func LoadAppConfig(adapterName string, configPath string) error {
|
||||||
absConfigPath, err := filepath.Abs(configPath)
|
absConfigPath, err := filepath.Abs(configPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user