Golang学习笔记

1.安装golang

下载地址:https://studygolang.com/dl
下载对应系统版本的Go安装包
本人下载的是go1.10.3.windows-amd64.msi 安装环境:windos7,64位
直接安装便可,一路Next,由于是msi安装,环境变量已经自动配置好了,进入cmd输入 go

Go is a tool for managing Go source code.

Usage:

    go command [arguments]

The commands are:

    build       compile packages and dependencies
    clean       remove object files and cached files
    doc         show documentation for package or symbol
    env         print Go environment information
    bug         start a bug report
    fix         update packages to use new APIs
    fmt         gofmt (reformat) package sources
    generate    generate Go files by processing source
    get         download and install packages and dependencies
    install     compile and install packages and dependencies
    list        

你可能感兴趣的:(Golang学习笔记)