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
X-Blog-Commit: 4f303a1af2796bdcdf14fea5d4974f6c3b26c407
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
X-Blog-Commit: d4c23261dc940eb2cb841a1a84832174e6bac0c4
It's an exposition of append.
Still pretty rough but the programs run.
Fixesgolang/go#4055.
R=golang-dev, adg, dan.kortschak, 0xjnml, mirtchovski, bradfitz
CC=golang-dev
https://golang.org/cl/13899043
X-Blog-Commit: 7175b3b62a7900cd56284ae04af85a0a076bec3c
It has been moved to code.google.com/p/go.tools/cmd/html2article.
R=golang-dev, minux.ma
https://golang.org/cl/14010043
X-Blog-Commit: 814dd9b6733bc217e01ba8de53e19efbd395d578
To be consistent with go.talks/present and go-tour/gotour.
R=r
CC=golang-dev
https://golang.org/cl/13751044
X-Blog-Commit: 271841ab79d5163e1520e5b8eee5cf170bfe4aab
It has been moved code.google.com/p/go.tools/godoc/blog/atom.
R=golang-dev, dsymonds
https://golang.org/cl/13760043
X-Blog-Commit: 2f455468b9de0f58fa8098177b1806589b537c4b
Accidentally missed these files in the previous CL.
R=dsymonds
CC=golang-dev
https://golang.org/cl/13457055
X-Blog-Commit: 3f1d67c2456dab686e4e83873ed145ffb81fc6a7
Also update playground JavaScripts to the latest version.
This will make it easier for us to switch to godoc's static assets down
the line.
R=r, dsymonds
CC=golang-dev
https://golang.org/cl/13412049
X-Blog-Commit: 7b08321066f219dca44c9447fd63d32cf05ff733
Also add a "BasePath" configuration option, so that the blog
may be served under "/blog", for instance.
This is preparation to include the blog server in the binary
distributions of godoc.
R=r, dsymonds
CC=golang-dev
https://golang.org/cl/13737043
X-Blog-Commit: 18e34e7ae7fa717b074f7fad0fed540222faf43c
The extant instructions mention the Next button, which doesn't exist,
but not the table of contents menu, which does.
R=adg
CC=golang-dev
https://golang.org/cl/13673043
X-Tour-Commit: cbe3d607b688dde610f7147be2e4c129db70e763
Don't use the default after going to all that trouble to override it.
Mea culpa.
R=adg
CC=golang-dev
https://golang.org/cl/13638043
X-Tour-Commit: bca2cb63546c70b4db9dc7491d203b2071d96f0b
Also put the programs into a subdirectory of prog, prog/tour.
This layout will keep things tidier as we add new tours.
At least for now, the images stay where they are because they are served
directly by the web server from the directory named static in the root.
R=adg
CC=golang-dev
https://golang.org/cl/13367049
X-Tour-Commit: 32dc98293039864d9aa3abaee017588d00a77a05
- change the flag name to "article"
- give it the correct default
(it had none, and then was programatically defaulted)
- try the name, then the name in the root
(before, only the default was looked for in the root)
R=adg
CC=golang-dev
https://golang.org/cl/13441049
X-Tour-Commit: f1f8f55dcb3ed20669a2a550f5cf67469ae8b669
There's an indicator to a "clever" trick, but the file changed underfoot.
The for loop it was linked to didn't seem particularly clever.
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/13518043
X-Blog-Commit: 8e475621c828cd9b9167f90407717af646c43663
Also mention rand.Seed.
Fixes#108.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/12741045
X-Tour-Commit: b07edc623d421212f709c68992ed1a3e5a8da11b
All of these are in response to user feedback.
Fixes#66.
Fixes#74.
Fixes#80.
Fixes#83.
Fixes#86.
Fixes#88.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/11818043
X-Tour-Commit: f02b491a5263c01570d4395fcb14f1a8c9f861c1