版本

Go 版本 #

golang/go

Github stars #

版本控制 #

moovweb/gvm

Github stars #

安装:

zsh < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)

使用:

$ gvm listall
$ gvm list
$ gvm install go1.15
$ gvm user go1.15
$ gvm uninstall go1.15

# 使用二进制安装
$ gvm install go1.15 -B

$ gvm install -h
Invalid version: -h
Usage: gvm install [version] [options]
    -s,  --source=SOURCE      Install Go from specified source.
    -n,  --name=NAME          Override the default name for this version.
    -pb, --with-protobuf      Install Go protocol buffers.
    -b,  --with-build-tools   Install package build tools.
    -B,  --binary             Only install from binary.
         --prefer-binary      Attempt a binary install, falling back to source.
    -h,  --help               Display this message.

$ gvm help
Usage: gvm [command]

Description:
  GVM is the Go Version Manager

Commands:
  version    - print the gvm version number
  get        - gets the latest code (for debugging)
  use        - select a go version to use (--default to set permanently)
  diff       - view changes to Go root
  help       - display this usage text
  implode    - completely remove gvm
  install    - install go versions
  uninstall  - uninstall go versions
  cross      - install go cross compilers
  linkthis   - link this directory into GOPATH
  list       - list installed go versions
  listall    - list available versions
  alias      - manage go version aliases
  pkgset     - manage go packages sets
  pkgenv     - edit the environment for a package set

版本历史 #

1.15 (2020-08-11) #

1.15.1 (2020-09-01) #


1.14 (2020-02-25) #

  • 嵌入接口的方法集可重叠

1.14.4 (2020-06-01) #

1.14.6 (2020-07-16) #

参考:


1.13 (2019-09-03) #


1.12 (2019-02-25) #


1.11 (2018-08-24) #

  • pprof

1.10 (2018-02-16) #

不用手动设置 GOROOT 了。

参考:


1.9 (2017-08-24) #

  • Mutex 互斥锁的饥饿模式

1.8 (2017-02-16) #

  • http/2 PUSH 功能

1.7 (2016-08-15) #

  • 标准库
    • context.Context

1.6 (2016-02-17) #

  • Go HTTP2
    • http2 is enabled by default in Go 1.6+ with no changes to your code.

1.5 (2015-08-19) #

Go 1.5 开始,使用 Go 自举实现。

1.4 (2014-12-10) #

Go 1.4 之前是 C 实现。

1.3 (2014-06-18) #

1.2 (2013-12-01) #

1.1 (2013-05-13) #

从 Go 1.0 开始,GOPATH 就被强烈推荐。随着 Go 1.1 的发布,GOPATH 已经是强制性的了。

1 (2012-03-28) #