aboutsummaryrefslogtreecommitdiff
path: root/content/slices
Commit message (Collapse)AuthorAge
* go.blog/slices: make slice-header-modifying example actually modify itRob Pike2013-10-11
| | | | | | | | Fixes golang/go#6570. R=golang-dev, adg CC=golang-dev https://golang.org/cl/14614043
* g.blog/slices: trivial fix to PtrSubtractOneFromLength exampleRob Pike2013-09-28
| | | | | | | | | There should be a := not an = in the body of the function. Another broken example working by accident. R=adg CC=golang-dev https://golang.org/cl/14059044
* go.blog/slices: fix bug in AppendRob Pike2013-09-27
| | | | | | | | | | | | The code didn't work but the blog runs the previous simple version, which does, so when you hit Run it looks like it's working. It only had two bugs (so far). Thanks to shelah.kell@gmail.com for noticing. R=adg CC=golang-dev https://golang.org/cl/14036043
* go.blog/slices: first draft of slices blog postRob Pike2013-09-27
It's an exposition of append. Still pretty rough but the programs run. Fixes golang/go#4055. R=golang-dev, adg, dan.kortschak, 0xjnml, mirtchovski, bradfitz CC=golang-dev https://golang.org/cl/13899043