## golang/go — weekly.2012-02-22…weekly.2012-03-04

_204+ commits._

### Features
- **doc: add command docs page, canonicalize reference paths** (a22b0f8)
- **doc: add help page, update project page** (539178b)
- **A+C: add Francisco Souza** (f90fd75)
- **misc: add zsh completion for go tool.** (664481e)
- **sync: add Once example** (2295554)
- **text/template: add examples that use multiple templates** (dd001b5)
- **doc: add a bunch of missing <p> tags** (c50074e)
- **doc: add The Laws of Reflection article** (6652b0b)
- **runtime/pprof: support OS X CPU profiling** (6e2ae0a)
- **godoc: add Examples link to top-level index** (64bc38e)
- **text/template: add example showing use of custom function** (26c2443)
- **net: add stubs for NetBSD** (740d503)
- **archive/zip: use encoding/binary again, add readBuf helper** (ce51e10)
- **A+C: add Yissakhar Z. Beck (Individual CLA)** (9aff05e)
- **testing: add -test.example flag to control execution of examples** (5876b4e)
- **net/http/cgi: add an empty response test** (761f946)
- **doc/go1: add justification discussions to major changes** (68c7e8a)
- **time: add a comment about how to use the Duration constants** (d781603)

### Fixes
- **cmd/go: fix grammar error in help messages** (2c0a46d)
- **doc/effective_go: minor fix** (4d7017d)
- **html/template: fix comment typo** (30f9c99)
- **doc: fix another typo in article on defer, panic and recover** (54875a7)
- **godoc: fix codewalks** (dd29609)
- **cmd/go: fix relative imports again** (604f375)
- **fix build for FreeBSD/amd64** (a142ed9)
- **doc: fix some HTML errors in code.html** (4d7d3f5)
- **cmd/go: fix test import dependency bug** (d08a884)
- **os: fix grammar in ProcessState comment** (36d9ee4)
- **go/build: fix build** (d49475e)
- **cmd/go: fix verbose command displaying** (e8c970e)
- **cmd/go: fix -I flag for gc command** (04450d8)
- **cmd/dist: Unix grammar fix** (3c3c5f3)
- **encoding/xml: fix xml test tag usage** (b5d4cff)
- **gc: fix string comparisons for new bool rules** (564a1f3)
- **net/http: fix ProxyFromEnvironment bug, docs, add tests** (f5df930)
- **spec: fix sentence** (da63371)
- **gob: trivial print fix** (fc79058)
- **net/http/httputil: fix DumpRequestOut on https URLs** (1b1039a)
- **net: fix comment on Dial with unixgram** (e266d60)
- **encoding/gob: fix "// +build" comment for debug.go** (e0aa361)
- **text/template: fix redefinition bugs** (180541b)
- **os: fix NetBSD build** (8c7b832)
- **doc/go1: fix broken link** (4fae9f7)
- **go/printer: fix printing of variadic function calls** (eafe86c)
- **go/printer: fix test for new import path restrictions** (0706d00)
- **misc/dashboard: fix bug in UI template** (2d6a6ed)
- **crypto/x509: fix typo in Verify documentation** (e4db4e9)

### Backend
- **weekly.2012-03-04** (56208ed)
- **doc: clean up docs page, refer to wiki, change install doc paths** (f78d50c)
- **cmd: update formatting of usage messages** (7e8ed8f)
- **doc/progs: update for go 1** (f5a1dd8)
- **misc: update usage message in benchcmp for go tool** (bc1e890)
- **doc: change menu, tweak front page** (d1e726c)
- **net: move MAC address parser into distinct file** (4d35583)
- **doc: fixed minor typo in article on defer** (b1b0b73)
- **godoc: hide "Subdirectories" subheading if it is the only section** (4314087)
- **text/template: one more test case** (227a04d)
- **text/template: clean up function values** (f1d3ff1)
- **doc: remove roadmap document** (120c223)
- **doc: change wording on references page** (aabf2ee)
- **doc/install-source.html: update for go tool** (95d7d3d)
- **Xcode: move Xcode3 specific files into sub directory** (485bf1e)
- **ld: allow more -L options** (5aea337)
- **go/printer: simpler exprList code, more tests** (6474eda)
- **all: more typos** (de7361b)
- **net: during short test, don't bother timeout longer than expected** (a3caf07)
- **doc/go1: minor corrections** (6a005cb)
- **cmd/go: avoid repeated include dirs.** (1feecdd)
- **cmd/go: fixes for gccgo.** (11e7eab)
- **os: sleep 5ms after process has exited on windows** (d1bd332)
- **doc: expand code.html to discuss the go tool in more depth** (718de6f)
- **os: implement UserTime/SystemTime on windows** (c3fbc9a)
- **os: centralize documentation of Process and ProcessState** (30db6d4)
- **doc: update go1 for html changes** (47d614e)
- **go/build: document GOPATH** (9316070)
- **doc: describe API changes to go/build** (9996f7f)
- **all: fixed various typos** (7c6654a)
- **reflect: expand doc for Value.Interface** (af95499)
- **spec: clarifications around exports, uniqueness of identifiers** (103c9db)
- **spec: minor tweaks** (953f2de)
- **sync: remove old WaitGroup example** (986df83)
- **cmd/go: fixes** (b03a5f6)
- **go/build: replace FindTree, ScanDir, Tree, DirInfo with Import, Package** (ebe1664)
- **reflect: make Value.Interface return immutable data** (a72b87e)
- **runtime: run init on main thread** (dc159fa)
- **cmd/dist: recognize CC="ccache clang" as clang** (03769ef)
- **5g, 8g: remove documentation dregs** (d88af88)
- **doc: update link to self-hosted "The Laws of Reflection" article** (cb6c09a)
- **html/template: encoding/json does more escaping now, so update the html/template test that uses it.** (289a163)
- **encoding/json: escape output from Marshalers.** (99e45e4)
- **os: release process handle at the end of windows (*Process).Wait** (ed238ca)
- **encoding/gob: more hardening for lengths of input strings.** (1f0f459)
- **misc/dist: implement binary distribution scripts in go** (984780a)
- **go/printer, gofmt: improved comment placement** (fd5718c)
- **io: Pipes and ReadAt are safe to use concurrently.** (5a5279e)
- **net: make -external flag for tests default to true** (7301065)
- **path/filepath: steer people away from HasPrefix** (fc268ac)
- **time: skip a often-flaky test in short mode** (8c52905)
- **spec: apply method sets, embedding to all types, not just named types** (8e38b17)
- **os: diagnose chdir error during StartProcess** (7aba72b)
- **path/filepath: note that SplitList is different from strings.Split** (b47cef3)
- **gc: disallow absolute import paths** (d0d251f)
- **spec: shorten heading for complex, real, imag** (0201e37)
- **net/http/httptest: make Server.Close wait for outstanding requests to finish** (8f0bfc5)
- **runtime/pprof: skip test on 64-bit Mac OS X 10.6** (357b257)
- **spec: use the term "lexical token" (rather then "lexical symbol")** (7c1cb37)
- **doc: elaborate available checks for cmd/vet** (df3a841)
- **net/http: make a test more paranoid & reliable on Windows, maybe.** (3684ae9)
- **net/http/httputil: make https DumpRequestOut less racy** (02b124e)
- **go/printer: replace multiline logic** (b1b0ed1)
- **pkg/runtime: 2 sanity checks in the runtime-gdb.py prettyprinters.** (fb27061)
- **net: minor fixes to test** (ecdd9f2)
- **io: document that i/o is not necessarily safe for parallel access.** (ee149d9)
- **doc: remove Go for C++ Programmers** (5fea39d)
- **go spec: inside functions, variables must be evaluated.** (2c9e163)
- **doc: update Go For C++ Programmers** (b69fa69)
- **doc/go1: tweaks to address rsc's comments** (9e7e6d9)
- **doc/style.css: make selectors more selective.** (bfdc3ba)
- **go/build: move code around** (38a03de)
- **all: remove various unused unexported functions and constants.** (c10f508)
- **net/rpc: API changes, all documentation** (250fa82)
- **cmd/dist: force line-buffering stdout/stderr on Unix** (26daf6a)
- **crypto/tls: force OS X target version to 10.6 for API compatibility** (fb1a5fc)
- **gotype: provide -comments flag** (e952e24)
- **tutorial: delete** (7201b0c)
- **net: no panic on placeholders for netbsd** (d9c5626)
- **encoding/json: drop MarshalForHTML; gofix calls to Marshal.** (9dd746c)
- **gobuilder: send commit time in RFC3339 format** (2f4e5f7)
- **encoding/binary: better example** (fa33fdb)
- **cmd/go: mention examples in docs for -test.run** (5573fa3)
- **cmd/go: drop -example, apply -run to examples** (ec15046)
- **misc/bash: Completion for go tool.** (1f5fde0)
- **strings: make Count example show results** (b495e5c)
- **godoc: don't show directories w/o packages in flat dir mode** (ab169c6)
- **cmd/go: test -i should not disable -c** (56ae903)
- **archive/zip: use smarter putUintXX functions to hide offsets** (eb825b5)
- **archive/zip: stop using encoding/binary** (228f44a)
- **cmd/go: run examples even if -run is set if -example is also set** (28668c3)
- **misc/dashboard: record install counts for external packages** (8421390)
- **doc/go1: mention that regexp has changed** (cc7e11c)
- **doc: instruct freebsd/linux users to rm the old version first** (e10dc82)
- **os: implement sameFile on windows** (c7482b9)
- **html/template: use correct method signature, in introduction example.** (4762e9d)
- **doc: move wiki tutorial into articles directory, rmdir doc/codelab** (cd1a2f7)
- **cmd/go: explain x... vs. x/... in help importpath** (b49dcb9)

### Tests
- **test: add test of calling recover in a varargs function** (b14a664)
- **test: add bug426.go: a gccgo crash on valid code** (532c1b4)
- **test: add a couple of cases to const1.go that crashed gccgo** (f0886ab)
- **test: bug424: wrong embedded method called** (69015b6)

### Chore
- **build: add GO_ prefix to LDFLAGS and GCFLAGS** (7e19e53)

_Recap by [Repo Wrapped](https://repowrapped.com/gh/golang/go?utm_source=github-action)._