请问这是什么原因呢?[阿里云函数计算]

golang通过build-fc-zip.exe打包的zip,函数计算测试调用,提示错误:{ “ErrorCode”: “InvalidArgument”, “ErrorMessage”: “Failed to start function, Code: 1, msg: read from init chan timeout:init timed out after 30 second.:/code/main: 1: /code/main: MZ @ : not found
/code/main: 1: /code/main: Syntax error: Unterminated quoted string

” }

这是什么原因呢?

函数配置如图

打包命令: make package_name=data-screen package-win

package-win: set CGO_ENABLED=0 set GOOS=linux set GOARCH=amd64 go build -o dist/main cmd/$(package_name)/main.go D:\workspace\homeking\go\bin\build-fc-zip.exe -output dist/$(package_name).zip dist/main

「点点赞赏,手留余香」

    还没有人赞赏,快来当第一个赞赏的人吧!
=====这是一个广告位,招租中,联系qq 78315851====