code: func GetPath(key string) string {
  	p := viper.GetString(key)
  	if p == "" {
  		return ""
  	}
  
  	return TranslatePath(filepath.Dir(viper.ConfigFileUsed()), p)
  }
docs: //----------------------------------------------------------------------------------
  // GetPath()
  //----------------------------------------------------------------------------------
  // GetPath allows configuration strings that specify a (config-file) relative path
  //
  // For example: Assume our config is located in /etc/hyperledger/fabric/core.yaml with
  // a key "msp.configPath" = "msp/config.yaml".
  //
  // This function will return:
  //      GetPath("msp.configPath") -> /etc/hyperledger/fabric/msp/config.yaml
  //
  //----------------------------------------------------------------------------------