Win10环境 Go环境 打包Linux可执行

Cmd执行以下指令

SET CGO_ENABLED=0
set GOARCH=amd64
set GOOS=linux
go build

注意不能有多余的空格

Tz
Tz


    Cannot read properties of undefined (reading 'get')
    Cannot read properties of undefined (reading 'get')