aboutsummaryrefslogtreecommitdiff
path: root/doc/go1.html
AgeCommit message (Collapse)Author
2021-02-16doc: remove all docs not tied to distributionRuss Cox
They have moved to x/website in CL 291693. The docs that are left are the ones that are edited at the same time as development in this repository and are tied to the specific version of Go being developed. Those are: - the language spec - the memory model - the assembler manual - the current release's release notes Change-Id: I437c4d33ada1b1716b1919c3c939c2cacf407e83 Reviewed-on: https://go-review.googlesource.com/c/go/+/291711 Trust: Russ Cox <rsc@golang.org> Trust: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
2020-12-02doc: update signal.Notify example to use buffered channelCuong Manh Le
This if follow up of CL 274332. Updates #9399. Change-Id: Ic6dd534dc18227a799cbb9577979f2285596b825 Reviewed-on: https://go-review.googlesource.com/c/go/+/274393 Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
2018-01-20doc: change anchor URLs from golang.org/dl/ to /dl/Andrew Bonventre
When running locally, it will redirect properly to golang.org/dl/ (see https://github.com/golang/tools/blob/master/cmd/godoc/dl.go). This is to support domains in prod other than golang.org. Change-Id: I6d3051fcd7e06a86442324a64d781d8ad95c624f Reviewed-on: https://go-review.googlesource.com/88679 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2014-09-12doc: link directly to https://golang.org/dl/Matthew Dempsky
Fixes #8705. LGTM=adg R=golang-codereviews, bradfitz, adg CC=golang-codereviews https://golang.org/cl/142890044
2014-07-25doc: drop scheme from links that are known to support HTTPSAndrew Gerrand
golang.org now serves HTTPS with a valid cert, so it's reasonable that users should click through to the HTTPS versions of *.golang.org and other known sites. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/112650043
2014-06-13doc: link to new downloads pageAndrew Gerrand
LGTM=minux R=golang-codereviews, minux CC=golang-codereviews https://golang.org/cl/102340044
2013-09-16doc: re-organize golang.org site contentAndrew Gerrand
Remove "References" section. Remove most articles and redirect to blog.golang.org. Move /ref/spec and /ref/mem to /doc/spec and /doc/mem. Remove duplicate links from the remaining "Documents", "The Project", and "Help" pages. Defer to the wiki for more links and community content. Update command reference and mention cover tool. Add "Pop-out" text to the front page. Pick one of four videos at random to feature on the front page. Fixes #2547. Fixes #5561. Fixes #6321. R=r, dominik.honnef CC=golang-dev https://golang.org/cl/13724043
2013-04-18doc: misc tweaks, new links, fix broken linksBrad Fitzpatrick
I read docs and wrote a crawler + link checker on the plane, which also checks for #fragments. I'll send that out later when it's less gross. R=golang-dev, r CC=golang-dev https://golang.org/cl/8729050
2012-12-29doc: fix id attributes in links to godocPéter Surányi
CL6449105 changed godoc id attributes to ensure uniqueness. This CL updates links to godoc pages in documents that used the old id attributes. R=golang-dev, dsymonds CC=golang-dev, speter.go1 https://golang.org/cl/7015051
2012-04-27old/regexp, old/template: delete.David Symonds
Both of these have replacements. R=golang-dev, r, rsc, r, adg CC=golang-dev https://golang.org/cl/5979046
2012-04-11doc: fix minor typo in Go 1 release notesDave Cheney
Fixes #3478. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5986074
2012-03-30doc/go1: minor fixesShenghou Ma
Fixes #3427. Part of issue 3424. R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/5959045
2012-03-24doc/go1: add mention of packaged releasesRob Pike
Fixes #3245. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5905045
2012-03-08cmd/godoc: add support for serving templatesRuss Cox
doc: convert to use godoc built-in templates tmpltohtml is gone, to avoid having a second copy of the code. Instead, godoc -url /doc/go1.html will print the actual HTML served for that URL. "make" will generate files named go1.rawhtml etc, which can be fed through tidy. It can be hard to tell from the codereview diffs, but all the tmpl files have been renamed to be html files and then have "Template": true added. R=golang-dev, adg, r, gri CC=golang-dev https://golang.org/cl/5782046
2012-03-08doc/go1: template packages have changed since r60Rob Pike
R=golang-dev, adg CC=golang-dev https://golang.org/cl/5787049
2012-03-08doc: add go command notes to the Go 1 docAndrew Gerrand
Fixes #2912. R=golang-dev, r CC=golang-dev https://golang.org/cl/5783048
2012-03-08doc/go1.tmpl: small change left behind from abf39116ffacAlex Brainman
R=r CC=golang-dev https://golang.org/cl/5752072
2012-03-07exp/wingui: getting relocated toAlex Brainman
go get code.google.com/p/gowingui R=golang-dev, minux.ma, r CC=golang-dev https://golang.org/cl/5752067
2012-03-05doc/progs: update for go 1Rob Pike
Fixes #3076. R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/5727056
2012-03-03doc/go1: minor correctionsShenghou Ma
Set dagger looks very much like t in some fonts, so superscript it. os/signal is no longer in exp. R=golang-dev, adg CC=golang-dev https://golang.org/cl/5720049
2012-03-02doc: update go1 for html changesAndrew Gerrand
R=golang-dev, rsc, r CC=golang-dev https://golang.org/cl/5713054
2012-03-01doc: describe API changes to go/buildRuss Cox
R=golang-dev, gri, r CC=golang-dev https://golang.org/cl/5711059
2012-02-29doc/go1: tweaks to address rsc's commentsRob Pike
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5706054
2012-02-28doc/go1: fix broken linkStefan Nilsson
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5695072
2012-02-27doc/go1: mention that regexp has changedRob Pike
Also restore alphabetical order. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5701053
2012-02-27doc/go1: add justification discussions to major changesRob Pike
Fixes #3086. R=golang-dev, gri, r, kevlar CC=golang-dev https://golang.org/cl/5700067
2012-02-24doc: update Go1 release notes to use correct WalkFunc error signature.Mike Rosset
filepath's WalkFunc handler now uses errors package, and not os.Error R=golang-dev, gri CC=golang-dev https://golang.org/cl/5696067
2012-02-25doc/go1: new introductionRob Pike
This distills the motivational discussion and makes it the introduction to the release notes. After this lands, I'll expand the discussion of the major changes to include more background. Updates #3086. R=golang-dev, gri, rsc CC=golang-dev https://golang.org/cl/5698057
2012-02-24doc/go1: document ProcessStateRob Pike
Also reformat the "go fix" references to make them look better by using the non-CW space. Fixes #3087. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5695057
2012-02-22cmd/fix: remove os.Wait gofix.David Symonds
The os.Wait function has been removed entirely, so there's no point in fixing code that called it. R=r CC=golang-dev https://golang.org/cl/5685078
2012-02-22doc: move styles to style.cssAndrew Gerrand
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5685075
2012-02-21doc/go1: delete obsolete reference to FileStatRob Pike
Fixes #3013. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5683049
2012-02-20os: drop the Wait function and the options to Process.WaitRob Pike
They are portability problems and the options are almost always zero in practice anyway. R=golang-dev, dsymonds, r, bradfitz CC=golang-dev https://golang.org/cl/5688046
2012-02-19doc/go1: update for runtime, unsafe API changesRuss Cox
Fixes #2890. R=golang-dev, r, remyoudompheng CC=golang-dev https://golang.org/cl/5683044
2012-02-19cmd/cgo: bug fixesRuss Cox
* disallow embedding of C type (Fixes issue 2552) * detect 0-length array (Fixes issue 2806) * use typedefs when possible, to avoid attribute((unavailable)) (Fixes issue 2888) * print Go types constructed from C types using original C types (Fixes issue 2612) This fix changes _cgo_export.h to repeat the preamble from import "C". Otherwise the fix to issue 2612 is impossible, since it cannot refer to types that have not been defined. If people are using //export and putting non-header information in the preamble, they will need to refactor their code. R=golang-dev, r, r CC=golang-dev https://golang.org/cl/5672080
2012-02-19doc: Fixed type in documentation for FormatFloat.Marcel van Lohuizen
R=r, r, rsc CC=golang-dev https://golang.org/cl/5656108
2012-02-18os: remove GetenverrorBrad Fitzpatrick
Fixes #3065 R=golang-dev, dsymonds, rsc CC=golang-dev https://golang.org/cl/5675094
2012-02-19go 1: add a description of the os error changes.Rob Pike
I'm sure I wrote these before but they've disappeared. R=golang-dev, bradfitz, r CC=golang-dev https://golang.org/cl/5673100
2012-02-17doc: fix tablesRuss Cox
R=golang-dev, r CC=golang-dev https://golang.org/cl/5676084
2012-02-17doc: provide example filepath.Walk for go1Mike Rosset
R=golang-dev, r, r CC=golang-dev https://golang.org/cl/5674067
2012-02-17os: delete os.EINVAL and so onRob Pike
The set of errors forwarded by the os package varied with system and was therefore non-portable. Three helpers added for portable error checking: IsExist, IsNotExist, and IsPermission. One or two more may need to come, but let's keep the set very small to discourage thinking about errors that way. R=mikioh.mikioh, gustavo, r, rsc CC=golang-dev https://golang.org/cl/5672047
2012-02-16net/url: Rename ParseWithReference to ParseWithFragment.David Symonds
Updates #2946. R=golang-dev, r, r CC=golang-dev https://golang.org/cl/5671061
2012-02-15fix: add fix for bufio, gzip, zlib NewWriterXxx changes.weekly.2012-02-14Nigel Tao
Fixes #2979. R=rsc, r CC=golang-dev https://golang.org/cl/5664046
2012-02-14go1.tmpl: fix mergeAdam Langley
hg massively messed up a simple merge for 9d7addec2635 in what I can only imagine was a public service announcement that everyone should use git. R=golang-dev CC=golang-dev https://golang.org/cl/5668043
2012-02-14archive/zip: hide Write method from *Writer typeAndrew Gerrand
This was an implementation detail that snuck into the public interface. *Writer.Create gives you an io.Writer, the *Writer itself was never meant to be written to. R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/5654076
2012-02-13os/signal: selective signal handlingRuss Cox
Restore package os/signal, with new API: Notify replaces Incoming, allowing clients to ask for certain signals only. Also, signals go to everyone who asks, not just one client. This could plausibly move into package os now that there are no magic side effects as a result of the import. Update runtime for new API: move common Unix signal handling code into signal_unix.c. (It's so easy to do this now that we don't have to edit Makefiles!) Tested on darwin,linux 386,amd64. Fixes #1266. R=r, dsymonds, bradfitz, iant, borman CC=golang-dev https://golang.org/cl/3749041
2012-02-13crypto/...: more fixes for bug 2841Adam Langley
1) Remove the Reset() member in crypto/aes and crypto/des (and document the change). 2) Turn several empty error structures into vars. Any remaining error structures are either non-empty, or will probably become so in the future. 3) Implement SetWriteDeadline for TLS sockets. At the moment, the TLS status cannot be reused after a Write error, which is probably fine for most uses. 4) Make crypto/aes and crypto/des return a cipher.Block. R=rsc, r CC=golang-dev https://golang.org/cl/5625045
2012-02-12cmd/fix: warn about exp, old, deleted packagesRuss Cox
Fixes #2776. There was a previous attempt at CL 5592043 but that seems to have stalled. This one is simpler, and more up to date (correct handling of spdy, for example). R=golang-dev, r CC=golang-dev https://golang.org/cl/5645091
2012-02-13go1: fix old reference to Sys methodRob Pike
The example was fixed; the simplifying rewrite was missed. R=golang-dev CC=golang-dev https://golang.org/cl/5651080
2012-02-12go1: update recipe for recovering Stat_tRob Pike
Fixes #2983. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5654063