summaryrefslogtreecommitdiff
path: root/doc/codelab
Commit message (Collapse)AuthorAgeFilesLines
* doc: move wiki tutorial into articles directory, rmdir doc/codelabAndrew Gerrand2012-02-2722-2592/+0
| | | | | | R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5701050
* doc: update codelab/wiki to Go 1.Shenghou Ma2012-02-259-129/+108
| | | | | | R=golang-dev, r, adg CC=golang-dev https://golang.org/cl/5683076
* doc/codelab/wiki: Add the usual Copyright notice.Olivier Duperray2012-01-2312-0/+48
| | | | | | R=adg CC=golang-dev https://golang.org/cl/5554073
* various: use $GCFLAGS and $GCIMPORTS like Make doesMaxim Pimenov2011-12-161-1/+1
| | | | | | R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5489065
* Housekeeping: Cleaning up the clean-up process.Lucio De Re2011-12-111-1/+1
| | | | | | | | | | | | src/clean.bash: Add clean-ups for previously overlooked directories. doc/codelab/wiki/Makefile: Dropped "index.html" from CLEANFILES so it will not be deleted on cleaning. R=golang-dev, r CC=golang-dev https://golang.org/cl/5476050
* text/template: new, simpler APIRob Pike2011-11-236-11/+11
| | | | | | | | | | | | | | | The Set type is gone. Instead, templates are automatically associated by being parsed together; nested definitions implicitly create associations. Only associated templates can invoke one another. This approach dramatically reduces the breadth of the construction API. For now, html/template is deleted from src/pkg/Makefile, so this can be checked in. Nothing in the tree depends on it. It will be updated next. R=dsymonds, adg, rsc, r, gri, mikesamuel, nigeltao CC=golang-dev https://golang.org/cl/5415060
* renaming_4: gofix -r everything/but/src/pkgRob Pike2011-11-0812-19/+19
| | | | | | R=rsc CC=golang-dev https://golang.org/cl/5338043
* all: rename os.Error to error in various non-code contextsRuss Cox2011-11-012-16/+16
| | | | | | R=adg CC=golang-dev https://golang.org/cl/5328062
* non-pkg: gofix -r error -force=errorRuss Cox2011-11-0111-49/+41
| | | | | | R=golang-dev, iant, r, r CC=golang-dev https://golang.org/cl/5307066
* doc/codelab/wiki: fix MakefileRuss Cox2011-08-291-1/+1
| | | | | | R=adg CC=golang-dev https://golang.org/cl/4971043
* doc/codelab: use new template packageAndrew Gerrand2011-08-189-73/+77
| | | | | | R=golang-dev, r CC=golang-dev https://golang.org/cl/4897048
* template: delete old template code.Rob Pike2011-08-177-17/+21
| | | | | | | | | | | It's already in old/template; make that build. Update a couple of references to point to the old template. They can be updated later. Update goplay to use exp/template. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4902046
* doc: auto-generated html change missing from 7ee7980ea06dBrad Fitzpatrick2011-05-131-1/+1
| | | | | | R=golang-dev, r CC=golang-dev https://golang.org/cl/4515077
* http: remove finalURL from Client.Get; move to ResponseBrad Fitzpatrick2011-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This CL: -- removes Response.RequestMethod string -- adds Response.Request *Request -- removes the finalURL result parameter from client.Get() -- adds a gofix rule for callers of http.Get which assign the final url to the blank identifier; warning otherwise Caller who did: res, finalURL, err := http.Get(...) now need to do: res, err := http.Get(...) if err != nil { ... } finalURL := res.Request.URL.String() R=rsc CC=golang-dev https://golang.org/cl/4535056
* doc/codelab: correct typo.Johan Euphrosine2011-05-121-1/+1
| | | | | | | | s/Sprintf/Fprintf/ R=golang-dev, rsc CC=adg, golang-dev https://golang.org/cl/4519053
* build: add all-qemu.bash, handful of arm fixesRuss Cox2011-03-271-1/+1
| | | | | | R=r CC=golang-dev https://golang.org/cl/4313051
* doc: update codelab wiki to fix template.Execute argument orderAndrew Gerrand2011-03-095-9/+9
| | | | | | | | Fixes #1595. R=r CC=golang-dev https://golang.org/cl/4243067
* doc/codelab/wiki: include into windows buildAlex Brainman2011-03-073-37/+37
| | | | | | R=adg, rsc CC=Joe Poirier, golang-dev https://golang.org/cl/4257052
* template: reverse order of arguments to ExecuteRob Pike2011-02-092-2/+2
| | | | | | | | | | | In line with other functions such as Fprintf, put the thing to be written first. Apologies for the breakages this is sure to cause. R=rsc, gri, adg, eds, r2, aam CC=golang-dev https://golang.org/cl/4169042
* srcextract: HTML-escape output if so desiredRobert Griesemer2011-02-091-8/+9
| | | | | | | | | | This functionality was removed with CL 4169041. Minor simplifications. R=r, adg CC=golang-dev https://golang.org/cl/4171042
* codelab: update due to recent changes in go/printerRob Pike2011-02-091-4/+0
| | | | | | R=gri, adg CC=golang-dev https://golang.org/cl/4169041
* Codelab/wiki: fix typoAndrey Mirtchovski2011-02-072-2/+2
| | | | | | | | Missing closing bracket renders the next code snippet unreadable. R=adg, gri CC=golang-dev https://golang.org/cl/4119060
* Codelab: correct function definitions for handlers before closures are ↵Andrey Mirtchovski2011-02-072-6/+15
| | | | | | | | | | | | | introduced. A couple of post-closure function definitions were introduced too early, making the resulting code fail compilation. Also, the TitleValidator regexp was missing. R=adg CC=golang-dev https://golang.org/cl/4105054
* log: rename Exit* to Fatal*Rob Pike2011-02-012-5/+5
| | | | | | | | | This aligns the naming scheme with the testing package and also lets govet work on more logging calls. R=rsc CC=golang-dev https://golang.org/cl/4001048
* doc/codelab/wiki: fixesRuss Cox2011-01-283-20/+19
| | | | | | | | | | make test.sh runnable as a command. announce only on 127.0.0.1. rebuild final-test.bin when final-test.go changes. R=adg, r CC=golang-dev https://golang.org/cl/4030044
* doc/codelab/wiki: tests use available TCP portAndrew Gerrand2011-01-273-9/+28
| | | | | | R=bradfitz, dsymonds, r2, dangabrad, rsc CC=golang-dev https://golang.org/cl/4043043
* doc/codelab/wiki: replace curl with a Go programAndrew Gerrand2011-01-273-5/+41
| | | | | | R=rsc, bradfitzgo CC=golang-dev https://golang.org/cl/4087043
* codelab/wiki: fix freebsd buildRuss Cox2011-01-261-1/+1
| | | | | | TBR=adg CC=golang-dev https://golang.org/cl/4092042
* codelab/wiki: fix buildRuss Cox2011-01-262-5/+5
| | | | | | TBR=adg CC=golang-dev https://golang.org/cl/4077045
* doc/codelab/wiki: rename textarea name from Body to bodyAndrew Gerrand2011-01-262-2/+2
| | | | | | R=mattn CC=golang-dev https://golang.org/cl/4034046
* doc/codelab/wiki: update to work with template changes, add to run.bashAndrew Gerrand2011-01-2616-190/+191
| | | | | | | | Fixes #1444. R=rsc, r CC=golang-dev https://golang.org/cl/3979045
* doc: update http handler usage for new signatureStephen Ma2010-09-3010-152/+152
| | | | | | R=adg, r2 CC=golang-dev https://golang.org/cl/2302041
* build: remove unnecessary references to GOBIN and GOROOTChristian Himpel2010-08-301-9/+4
| | | | | | | | | All scripts and makefiles assume that GOBIN is correctly set in PATH. R=rsc CC=golang-dev https://golang.org/cl/2043041
* doc: fix wiki codelab title and srcextract.goAndrew Gerrand2010-08-273-13/+3
| | | | | | R=r, rsc1 CC=golang-dev https://golang.org/cl/1953048
* build: no required environment variablesRuss Cox2010-08-181-1/+1
| | | | | | R=adg, r, PeterGo CC=golang-dev https://golang.org/cl/1942044
* edit simple typosJoe Poirier2010-06-012-6/+6
| | | | | | R=golang-dev, adg CC=golang-dev, rsc https://golang.org/cl/1426042
* codelab/wiki: fix typo in demo URLAndrew Gerrand2010-05-072-2/+2
| | | | | | R=r CC=golang-dev https://golang.org/cl/1148041
* codelab/wiki: switch edit/view, as they were backwardsAndrew Gerrand2010-05-033-10/+13
| | | | | | | | Fixes #757. R=rsc CC=golang-dev https://golang.org/cl/1064041
* codelab/index.html: a few typos.Andrey Mirtchovski2010-04-291-3/+3
| | | | | | R=adg CC=golang-dev https://golang.org/cl/993042
* codelab/index.html "os" needs to be imported because os.Error is used almost ↵Andrey Mirtchovski2010-04-291-3/+6
| | | | | | | | | | immediately Also, calling fmt, ioutil and os "builtin" is probably confusing. R=adg CC=golang-dev https://golang.org/cl/965045
* wiki codelab: typo fixAndrew Gerrand2010-04-282-2/+2
| | | | | | | | noticed this as I was submitting the previous CL :( R=r CC=golang-dev https://golang.org/cl/989045
* Wiki codelab, complete with tests.Andrew Gerrand2010-04-2821-0/+2513
R=r, rsc, gri CC=golang-dev https://golang.org/cl/887045