I have a Google Cloud Function written in nodejs, which I want to run with @google-cloud/functions-framework. My structure is
main_folder/
test_function/
index.js
node_modules/
package.json
So as in the structure, my entry point is inside test_function/index.js. Is there a way to call that function using function framework ? or function framework does not work with folder structure (index.js has to be in the root folder) ?
Any help would be appreciated. Thanks in advance