install go version 10 on windows 7 64

本文详细介绍了如何在Windows 64位系统上安装Go语言环境。包括下载安装包、安装步骤及验证安装是否成功的方法。此外还介绍了如何设置工作目录并进行简单的编程测试。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

install on windowns 64
https://studygolang.com/dl
Open the go1.10.windows-amd64.msi file and follow the prompts to install the Go tools. 
By default, the installer puts the Go distribution in d:\Go.
The installer should put the d:\Go\bin directory in your PATH environment variable. 
You may need to restart any open command prompts for the change to take effect.


D:\>go version
go version go1.10 windows/amd64


Test your installation 
Create your workspace directory, d:\gotest. 
(If you'd like to use a different directory, you will need to set the GOPATH environment variable.)
make the directory src/hello inside your workspace
and in that directory create a file named hello.go


package main


import "fmt"


func main() {
    fmt.Printf("hello, world\n")
}
C:\> cd d:\gotest\src\hello
d:\gotest\src\hello> go build

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值