go语言出现这个问题咋解决go bulid: unknown commandRun 'go help' for usage.
使用exec函数:
shell_exec('C:\Go\bin\go.exe run ./index.go');