Today’s contents Introduction 00 What is Modules(vgo) GOPATH mode & module-aware mode go mod command & go.mod file 01 02 03 04 Changes in Go 1.12 Today’s summary 05
● Modules登場以前は以下の手法が取られていた ○ go get ■ go1タグ・ブランチor最新masterブランチ ○ glideやdepなどのサードパーティ製ツール ■ https://github.com/Masterminds/glide ■ https://github.com/golang/dep ● 最近までdepが主流だった…? ○ 2018/06くらいはvgoはまだ辛い記事などがあったり… Before Go Modules
default is “auto” on Go1.12 Go 1.12, scheduled for February 2019, will refine module support but still leave it in auto mode by default. Our aim is for Go 1.13, scheduled for August 2019, to enable module mode by default (that is, to change the default from auto to on) and deprecate GOPATH mode. Go Modules in 2019より引用