Online tools
Go Online Runner
免费在线运行 Go 代码:云端沙盒自动编译执行,支持标准输入与 uuid、yaml 等常用库,无需安装 Golang 环境,浏览器中即可编写并运行 Go 程序。
Code editor
Result
Click Run and the output will appear here
Standard input
Load popular libraries
Includes the following libraries, ready to import when enabled
yaml.v3google/uuidgorilla/muxBurntSushi/tomlgo-qrcode
FAQ
在线运行 Go 需要安装 Golang 吗?
不需要。代码在云端沙盒中自动编译并执行,返回编译耗时、运行耗时和完整输出。
支持哪些 Go 第三方库?
开启加载常用库后可使用 yaml.v3、google/uuid、gorilla/mux、BurntSushi/toml、go-qrcode 等常用包。
Go 编译错误会怎么显示?
编译失败时状态会标记为编译错误,编译器的完整诊断信息会显示在标准错误输出中。