~/talk

Clearing the GOPATH to Go

Talkat GoLab 2017 · 2017-01-20..01-21· [go]
slides:none on file

Company tooling creates a per-project fake GOPATH so a cloned repo builds without moving code or setting env vars; the repo published as hello gopher provides a make setup that creates a local GOPATH with vendor folder support via symlinks, runs go test with race and cgo, produces merged coverage profiles, and cross-compiles incrementally into a bin subfolder. It leaves source untouched so go build/go install still work if the project lives inside a real GOPATH.

AI-written summary · about

  1. 0:00Introduction to clearing GOPATH
  2. 1:03Why GOPATH confuses developers
  3. 6:54Problems with GOPATH structure
  4. 12:16Vendor folder solution in Go 1.5+
  5. 13:40Demo of GVT tool for dependencies
  6. 16:13Why builds still fail despite fixes
  7. 18:05Introducing hello gopher tool
  8. 20:50How hello gopher works under the hood
  9. 23:43Testing and coverage with hello gopher
  10. 25:29Cross-compilation support
  11. 26:53Future of Go path usability
  12. 28:59Call to action and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.