mirror of
https://github.com/astaxie/beego.git
synced 2024-12-23 06:20:50 +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
|
||||
func LoadAppConfig(configPath string, adapterName string) error {
|
||||
func LoadAppConfig(adapterName string, configPath string) error {
|
||||
absConfigPath, err := filepath.Abs(configPath)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user