aboutsummaryrefslogtreecommitdiff
path: root/content/generate.article
Commit message (Collapse)AuthorAge
* content: write real summary for each articleRuss Cox2020-03-17
| | | | | | | | | | | | | | | | | | The pre-Markdown blog invented a summary by copying the first paragraph of text. Often this was nonsense or at least useless. The new Markdown-enabled present format adds an explicit Summary line. The conversion populated these with the same first paragraph that the old format would have used implicitly. This commit rewrites them all to be proper short summaries. Change-Id: If2e1e101b95558d7ecd53c613f733a7f89c680f1 Reviewed-on: https://go-review.googlesource.com/c/blog/+/223598 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Andrew Bonventre <andybons@golang.org>
* content: convert to Markdown-enabled present inputsRuss Cox2020-03-17
| | | | | | | | | | | | Converted blog to Markdown-enabled present (CL 222846) using present2md (CL 222847). For golang/go#33955. Change-Id: Ib39fa1ddd9a46f9c7a62a2ca7b96e117635553e8 Reviewed-on: https://go-review.googlesource.com/c/blog/+/222848 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Andrew Bonventre <andybons@golang.org>
* content: make spacing consistent + remove commentsRuss Cox2020-03-11
| | | | | | | | | | | | Remove repeated blank lines, trailing spaces, trailing blank lines Remove comments from survey2018.article (only article using them). Remove blank lines between successive ".commands". For golang/go#33955. Change-Id: I90cae37a859a8e39549520569d5f10bc455415d3 Reviewed-on: https://go-review.googlesource.com/c/blog/+/222841 Reviewed-by: Ian Lance Taylor <iant@golang.org>
* blog: update code sample in the "Generating code" articleRobin Eklind2019-03-16
| | | | | | | | | | Fixes golang/go#20720. Change-Id: Iabeadddba92d6d51f873d817446eb79f20694be6 GitHub-Last-Rev: bd9501d806e08aff6cf230d1490fee14e2ba5e6f GitHub-Pull-Request: golang/blog#20 Reviewed-on: https://go-review.googlesource.com/c/blog/+/167763 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
* content/generate: fix package statement in sample outputCarlos Souza2018-11-10
| | | | | | | | | | | The input is package painkiller, not package pill. The generated code is in the same package. Change-Id: Ifc6dc6e5e1a035f0cec1650ab56a6f3a767fda67 GitHub-Last-Rev: 060cee29ea416effda5519874f1a3cf83a39518c GitHub-Pull-Request: golang/blog#16 Reviewed-on: https://go-review.googlesource.com/c/143544 Reviewed-by: Russ Cox <rsc@golang.org>
* content: change more links from http to httpsBrad Fitzpatrick2018-04-13
| | | | | | | | | | | | | talks.golang.org blog.golang.org godoc.org swtch.com And few misc ones done by hand. Change-Id: Ia2c4fee630814a1ef3b143098bbac3edd6a45064 Reviewed-on: https://go-review.googlesource.com/106977 Reviewed-by: Andrew Bonventre <andybons@golang.org>
* content: update all golang.org links to httpsAgniva De Sarker2018-04-13
| | | | | | | | | | Ran sed -i 's/\[\[http:\/\/golang.org/\[\[https:\/\/golang.org/g' *.article Change-Id: I88acc5104e1a3fc5e9a1cf11b600b657202d8997 Reviewed-on: https://go-review.googlesource.com/106955 Run-TryBot: Andrew Bonventre <andybons@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Andrew Bonventre <andybons@golang.org>
* blog: fix Yacc links in the generating code postPravendra Singh2017-05-25
| | | | | | | | | | | The post has a dead link to the Go version of Yacc (goyacc). It was moved to 'golang.org/x/tools/cmd/goyacc' in CL 27325. Fixes golang/go#20434. Change-Id: I16e39d0bc2be422b129fd5cadd95f9b3a52c1abd Reviewed-on: https://go-review.googlesource.com/44230 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
* stringer: fix sample generated codeRob Pike2014-12-22
| | | | | | | | | Note to self: never hand-edit generated code. This is the actual output from stringer. Change-Id: I3900b790d2019afa5dc4ed55391d50cd4f772525 Reviewed-on: https://go-review.googlesource.com/1993 Reviewed-by: Andrew Gerrand <adg@golang.org>
* generate: update to new stringer formatRob Pike2014-12-22
| | | | | | | | | | During code review for this post, dsymonds noticed a way to simplify the generated code. That simplification is now checked in, so bring the post up to date. Change-Id: If29587332c8cc210ecac4843e9dd45dfa01118f7 Reviewed-on: https://go-review.googlesource.com/2020 Reviewed-by: Andrew Gerrand <adg@golang.org>
* blog: add new article about go generateRob Pike2014-12-22
Change-Id: Id9a9885ceb0bde6db65d3cdb2cb6964dab4ef8ab Reviewed-on: https://go-review.googlesource.com/1931 Reviewed-by: Andrew Gerrand <adg@golang.org>