1
0
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:
youngsterxyf 2016-01-27 16:19:10 +08:00
parent e357f6846b
commit ccce566ba7

View File

@ -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