直接调用"go build helloworld.go"就生成了"helloworld.exe"可执行程序,运行一下这个程序看到了我们期望的hello,wolrd 。
【go语言rc文件编译 go语言编译可执行文件】E:\opensource\go\go\testgo build helloworld.go
E:\opensource\go\go\testhelloworld.exe
hello, world
E:\opensource\go\go\test
附一 helloworld.go
// cmpout
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Test that we can do page 1 of the C book.
package main
func main() {
print("hello, world\n")
}
go语言rc文件编译的介绍就聊到这里吧,感谢你花时间阅读本站内容 , 更多关于go语言编译可执行文件、go语言rc文件编译的信息别忘了在本站进行查找喔 。
- mongodb 更新子文档 mongodb数据文件无法新建
- mongodb存储文件如何存储 mongodb海量图片存储
- mongodb存储图片和文件实践 mongodb存文件和表
- mysql 输出格式 mysql输出到文件位置
- mongodb keyfile mongodb可执行文件路径怎么修改
- redis的ae.c文件 redis的ae.c
- mongodb数据库文件迁移 mongodb迁移到其他目录
- mysql工具编译功能 mysql工具my
- 将数据保存到文件中c语言 将数据保存到mongodb
- mysql账号密码配置文件 mysql账号和密码
