code: func LoadConfig() {
  	currentPath, err := os.Getwd()
  	if err != nil {
  		beeLogger.Log.Error(err.Error())
  	}
  
  	dir, err := os.Open(currentPath)
  	if err != nil {
  		beeLogger.Log.Error(err.Error())
  	}
  	defer dir.Close()
  
  	files, err := dir.Readdir(-1)
  	if err != nil {
  		beeLogger.Log.Error(err.Error())
  	}
  
  	for _, file := range files {
  		switch file.Name() {
  		case "bee.json":
  			{
  				err = parseJSON(filepath.Join(currentPath, file.Name()), &Conf)
  				if err != nil {
  					beeLogger.Log.Errorf("Failed to parse JSON file: %s", err)
  				}
  				break
  			}
  		case "Beefile":
  			{
  				err = parseYAML(filepath.Join(currentPath, file.Name()), &Conf)
  				if err != nil {
  					beeLogger.Log.Errorf("Failed to parse YAML file: %s", err)
  				}
  				break
  			}
  		}
  	}
  
  	// Check format version
  	if Conf.Version != confVer {
  		beeLogger.Log.Warn("Your configuration file is outdated. Please do consider updating it.")
  		beeLogger.Log.Hint("Check the latest version of bee's configuration file.")
  	}
  
  	// Set variables
  	if len(Conf.DirStruct.Controllers) == 0 {
  		Conf.DirStruct.Controllers = "controllers"
  	}
  
  	if len(Conf.DirStruct.Models) == 0 {
  		Conf.DirStruct.Models = "models"
  	}
  }
docs: // LoadConfig loads the bee tool configuration.
  // It looks for Beefile or bee.json in the current path,
  // and falls back to default configuration in case not found.