我有一个用Go编写的GoogleCloudFunction,并使用Go 1.11运行时进行部署,它可以工作。当将运行时升级到Go1.13时,问题出现了,同样的函数,我得到了这个错误: Error: could not handle the request 在CloudFunction的日志中,我有以下错误的详细信息error'
在Go中开发一个小的GoogleCloud函数时。我注意到如果你的package main中包含了所有的东西,它会抛出一个错误。import "<whatever>" is a program, not an importable package 因此,解决方案是将其切换到自己的包中,然后部署。这是最好的工作流程吗?我看到的另一种选择可能是使云函数成为自己的模块,并将其导入到main.go</
:初始化操作启动失败(error=2,没有这样的文件或目录)。(BootstrapActionRunner.java:349) at com.google.cloud.hadoop.services.agent没有这样的文件或目录.BootstrapActionRunner.runScriptAndPipeOutputToGcs/dat