aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* content: fix typo in strings.articleHEADmasterSteven Maude2020-09-16
| | | | | | | | | | | | | Fix misspelling of "techniques" in "Strings, bytes, runes and characters in Go" article. Change-Id: Idcd0ce68ec3f2a7605db3f4d756d5b03ae7f190c GitHub-Last-Rev: a30ee08eccc038b41eed9cc4a961eca38d1421cf GitHub-Pull-Request: golang/blog#44 Reviewed-on: https://go-review.googlesource.com/c/blog/+/255179 Reviewed-by: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Go Bot <gobot@golang.org>
* content: fix code indentsd-tsuji2020-09-06
| | | | | | | Change-Id: If4931701d111fad6228724c9307dc8ffd5ec646c Reviewed-on: https://go-review.googlesource.com/c/blog/+/253098 Reviewed-by: Alberto Donizetti <alb.donizetti@gmail.com> Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
* content: fix link to "Go version 1 is released"d-tsuji2020-09-05
| | | | | | | | Change-Id: Iac52d9fc7044fa5cecf19e6580688a1ab49cb156 Reviewed-on: https://go-review.googlesource.com/c/blog/+/253099 Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
* content: add go1.15.articleAlexander Rakoczy2020-08-11
| | | | | | | | For golang/go#27155 Change-Id: I6c0a2a7b9293a39393192920c3625b6f09d77e0a Reviewed-on: https://go-review.googlesource.com/c/blog/+/247406 Reviewed-by: Carlos Amedee <carlos@golang.org>
* content: fix a few typosAinar Garipov2020-08-10
| | | | | | | | Found with hunspell. Change-Id: I5208cc9012df5f900848ef61c0ea915673efa307 Reviewed-on: https://go-review.googlesource.com/c/blog/+/247717 Reviewed-by: Ian Lance Taylor <iant@golang.org>
* content: fix code block in Publishing Go Modules articleDmitri Shuralyov2020-07-27
| | | | | | | | | | | | | | | | | | | | When indentation is used to create a code block immediately following a list, Markdown syntax is ambiguous: it can be interpreted as another text paragraph belonging to the last list entry, or as a standalone code block. The original behavior in CL 197637 made this unambiguously a code block because the present format did not support lists. This changed when the article was converted to use Markdown syntax in CL 222848. Start using a fenced code block instead of indentation to resolve the Markdown ambiguity and restore original behavior. For golang/go#33955. Change-Id: I9537bc72d7a32f90592942591b2688fb2f26c452 Reviewed-on: https://go-review.googlesource.com/c/blog/+/245017 Reviewed-by: Jean de Klerk <deklerk@google.com>
* content: use em dashes in module article series linksJay Conrod2020-07-24
| | | | | | | | | | | | For the first four articles in the module series, this CL replaces a hyphen with an em dash before the link to the fifth article, consistent with other links. Change-Id: Id9c066079a1467ee432c0284b1692fade32709d1 Reviewed-on: https://go-review.googlesource.com/c/blog/+/244757 Run-TryBot: Jay Conrod <jayconrod@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Jean de Klerk <deklerk@google.com>
* module-compatibility.article: add dotJonathan Amsterdam2020-07-07
| | | | | | Change-Id: I2b349c6d4e2c602d34519174af9186b6a236d27b Reviewed-on: https://go-review.googlesource.com/c/blog/+/241072 Reviewed-by: Jean de Klerk <deklerk@google.com>
* content: add module_compatibility.articleJean de Klerk2020-07-07
| | | | | | | | Change-Id: I89beb3406bb76ebfab5419318ae6d9584b66aafd Reviewed-on: https://go-review.googlesource.com/c/blog/+/232777 Run-TryBot: Jean de Klerk <deklerk@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Jay Conrod <jayconrod@google.com>
* content: fix italic text in matchlang.articleSimon Drake2020-06-30
| | | | | | | | | | | | | | | | | | | | Fix italic text by removing the space between the underscore and first letter. Screenshot of issue: <img width="870" alt="image" src="https://user-images.githubusercontent.com/62928647/86102576-992d0c00-bab3-11ea-9c25-2011cc46b109.png"> Screenshot of fix: <img width="966" alt="image" src="https://user-images.githubusercontent.com/62928647/86102505-81558800-bab3-11ea-9ac5-3270d55eb56d.png"> Change-Id: I7698f6f40295221c8b4d00d7ae28a0cdc45fc436 GitHub-Last-Rev: cb14d1cd83ae5115c01ff72c0f1b9e96ba85d9f5 GitHub-Pull-Request: golang/blog#40 Reviewed-on: https://go-review.googlesource.com/c/blog/+/240480 Reviewed-by: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
* content/generics-next-step: linkify reference to issue trackerIan Lance Taylor2020-06-17
| | | | | | Change-Id: Ia7e453fb9684baf194b5c2b1c7236493b6ad5781 Reviewed-on: https://go-review.googlesource.com/c/blog/+/238008 Reviewed-by: Robert Griesemer <gri@golang.org>
* content/generics-next-step: fix author listingIan Lance Taylor2020-06-16
| | | | | | Change-Id: I849816d695b68cc2cce8cf4d65f853d3e735d881 Reviewed-on: https://go-review.googlesource.com/c/blog/+/238006 Reviewed-by: Robert Griesemer <gri@golang.org>
* content/generics-next-step: add Introduction section markerIan Lance Taylor2020-06-16
| | | | | | Change-Id: I33e23b3ed79137fb296dfeccec83baef2e30bc73 Reviewed-on: https://go-review.googlesource.com/c/blog/+/238005 Reviewed-by: Robert Griesemer <gri@golang.org>
* content: add generics-next-step articleIan Lance Taylor2020-06-16
| | | | | | | | For golang/go#15292 Change-Id: Iafefd3dd016a0d78907af408903f0186df42dd3b Reviewed-on: https://go-review.googlesource.com/c/blog/+/238241 Reviewed-by: Robert Griesemer <gri@golang.org>
* content: add pkgsite articleJulie Qiu2020-06-15
| | | | | | | Change-Id: I7d95fda486b82f8cc695cd6f5dda586edb206c7a Reviewed-on: https://go-review.googlesource.com/c/blog/+/237937 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Andrew Bonventre <andybons@golang.org>
* template: update header to be consistent with golang.orgAndrew Bonventre2020-06-11
| | | | | | | | | | | Also update the x/website module dependency to v0.0.0-20200611220721-d72cde69aaaf Change-Id: I4b361af3bfda31551b399b1158eec72e98367b1c Reviewed-on: https://go-review.googlesource.com/c/blog/+/237599 Run-TryBot: Andrew Bonventre <andybons@golang.org> Reviewed-by: Julie Qiu <julie@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
* content/vscode-go: correct the publisher nameHana (Hyang-Ah) Kim2020-06-09
| | | | | | | | Our publisher id is 'golang' and its display name is 'Go Team at Google'. Change-Id: I161df5c478c8c97410871a9aa30ed09b11b4ac56 Reviewed-on: https://go-review.googlesource.com/c/blog/+/237259 Reviewed-by: Ian Cottrell <iancottrell@google.com>
* content/vscode-go: change authorsRebecca Stambler2020-06-09
| | | | | | Change-Id: I1d5080137f0edc81ce5a19c51f261fcfb0c92e2d Reviewed-on: https://go-review.googlesource.com/c/blog/+/237238 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
* content/vscode-go: link VS Code blog postRebecca Stambler2020-06-09
| | | | | | Change-Id: I59df36f9e0e14c6670ea2b23e535f894bc65817f Reviewed-on: https://go-review.googlesource.com/c/blog/+/237237 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
* content/vscode-go: add redirect from long form URLDmitri Shuralyov2020-06-09
| | | | | | | | | | | The canonical path for this blog post is the short path /vscode-go, determined from the file name. This change adds a secondary longer path that redirects to the canonical short one, so that both links can work at the time the blog post is published. Change-Id: I8f0edf44536d22ef2fd8693aa5c6e82947a8c7a6 Reviewed-on: https://go-review.googlesource.com/c/blog/+/237165 Reviewed-by: Rebecca Stambler <rstambler@golang.org>
* content/vscode-go: use https in a link, remove duplicate wordsDmitri Shuralyov2020-06-09
| | | | | | | | | | | Prefer the https scheme in a link to provide better security and skip a redirect. Remove a redundant phrase to make a sentence flow better. Change-Id: Iacfd06184a3769b719c52c19ae78a36d5aaa9f5a Reviewed-on: https://go-review.googlesource.com/c/blog/+/237163 Reviewed-by: Rebecca Stambler <rstambler@golang.org>
* content: add vscode-go.articleRebecca Stambler2020-06-09
| | | | | | | Change-Id: I7db3ffac6eeddf3da81538ac40537ecd71ed03b8 Reviewed-on: https://go-review.googlesource.com/c/blog/+/237018 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com> Reviewed-by: Steve Francia <spf@golang.org>
* content: update link in gofmt.articleDean Eigenmann2020-05-21
| | | | | | | | Change-Id: I00e21b8f8678a950424676b41e0364df2ed6b423 GitHub-Last-Rev: e9361a8494d34197529a851c0a1c91e307a13307 GitHub-Pull-Request: golang/blog#36 Reviewed-on: https://go-review.googlesource.com/c/blog/+/234778 Reviewed-by: Ian Lance Taylor <iant@golang.org>
* content: correct grammar in package-names.articleDoga Fincan2020-05-13
| | | | | | | | | | Just a small reordering of words. Change-Id: I6443583e93ea0d0c451564d9bb0ca8efeed96b10 GitHub-Last-Rev: f50b51a54a11df9509bca20d9466e73da9d75977 GitHub-Pull-Request: golang/blog#35 Reviewed-on: https://go-review.googlesource.com/c/blog/+/233677 Reviewed-by: Ian Lance Taylor <iant@golang.org>
* content/constants: fix display of two backquote charactersDmitri Shuralyov2020-05-05
| | | | | | | | | | | | | | | Two backquote characters were expressed as 6 consecutive backquotes in the legacy article format. That unusual sequence didn't translate well into the new Markdown article format in CL 222848. Replace it with simple HTML, since this is hard to express in Markdown. For golang/go#33955. Change-Id: I575aa89c9f9104de694d9a8dad4ca103cc4c1567 Reviewed-on: https://go-review.googlesource.com/c/blog/+/231817 Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Andrew Bonventre <andybons@golang.org>
* content/survey2019-results: change ' to ’ (straight to smart quote)Russ Cox2020-04-20
| | | | | | | Change-Id: I3ad8874e19a1c98225a320071f395c47b1ec2428 Reviewed-on: https://go-review.googlesource.com/c/blog/+/229117 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
* blog: add 2019 survey resultsTodd Kulesza2020-04-20
| | | | | | Change-Id: I2ea51b9b65b215d4d1b647b9ef9b0c7b35907d94 Reviewed-on: https://go-review.googlesource.com/c/blog/+/227923 Reviewed-by: Russ Cox <rsc@golang.org>
* go.mod: upgrade x/tools to pull in goldmark fix for js/wasmBryan C. Mills2020-03-31
| | | | | | | | | | Fixes golang/go#38183 Change-Id: I418fd8c16bd5800d7b4884e764b2b3b17319ea1e Reviewed-on: https://go-review.googlesource.com/c/blog/+/226638 Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Jay Conrod <jayconrod@google.com>
* content: add pandemic.articleRuss Cox2020-03-25
| | | | | | | Change-Id: I8ef3864a022838cb9a84d1800fd1372830437fe9 Reviewed-on: https://go-review.googlesource.com/c/blog/+/225519 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
* blog: update to latest x/tools for serial comma in authors listRuss Cox2020-03-25
| | | | | | | Change-Id: Ie8519fa8d24854791327591fcffc875a45b595f9 Reviewed-on: https://go-review.googlesource.com/c/blog/+/225518 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
* blog: update to latest x/tools for Markdown <pre> fixRuss Cox2020-03-24
| | | | | | | | | | | | | This fixes <pre> blocks containing blank lines, like in https://blog.golang.org/v2-go-modules. Fixes golang/go#37972. Change-Id: I44adf6ae72f600e19c995a1fde36537d4f06008f Reviewed-on: https://go-review.googlesource.com/c/blog/+/224943 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
* blog: update to latest x/tools, for atom feed fixRuss Cox2020-03-18
| | | | | | | | Change-Id: Ibbc5df5fd4e16f09c1d546a154519c356902290e Reviewed-on: https://go-review.googlesource.com/c/blog/+/223918 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
* content: fix comments from CL 223598Russ Cox2020-03-18
| | | | | | | | | | I missed these comments before submitting. Change-Id: I5c6bf7923044c73b0c26b491f000bdaffba9b1a6 Reviewed-on: https://go-review.googlesource.com/c/blog/+/223917 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
* content: inline small .html directivesRuss Cox2020-03-17
| | | | | | | | | | | | Now that the blog can handle Markdown, minor HTML adjustments can be made directly in the article files, so inline those instead of using .html commands. Change-Id: I5069f18ab98b38cdb8528ae2d5529abf06baf1ef Reviewed-on: https://go-review.googlesource.com/c/blog/+/223600 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Andrew Bonventre <andybons@golang.org>
* content: rename articles to reinforce convention of short URLsRuss Cox2020-03-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Go blog started out on Blogger (http://web.archive.org/web/20100325005843/http://blog.golang.org/). Later, we moved to the current self-hosted blog server with extra Go-specific functionality like playground snippets. The old Blogger posts have very long URLs that Blogger chose for us, such as "go-programming-language-turns-two" or "two-go-talks-lexical-scanning-in-go-and", predating the convention of giving posts shorter, more share-friendly, typeable names. The conversion of the old Blogger posts also predated the convention of putting supporting files in a subdirectory. The result is that although we've established new conventions, you wouldn't know by listing the directory - the old Blogger content presents a conflicting picture. This commit renames the posts with very long names to have shorter, more share-friendly names, and it moves all supporting files to subdirectories. It also adds a README documenting the conventions. For example, blog.golang.org/go-programming-language-turns-two is now blog.golang.org/2years, matching our more recent birthday post URLs, and its supporting files are moved to the new 2years/ directory. The old URLs redirect to the new ones. Change-Id: I9f46a790c2c8fab8459aeda73d4e3d2efc86d88f Reviewed-on: https://go-review.googlesource.com/c/blog/+/223599 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Andrew Bonventre <andybons@golang.org>
* 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>
* blog: update to latest x/toolsRuss Cox2020-03-17
| | | | | | | | | This update brings in Markdown fixes and redirect support. Change-Id: I1d4c2589992ca832e27b0ae53a1598240d780d69 Reviewed-on: https://go-review.googlesource.com/c/blog/+/223597 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Andrew Bonventre <andybons@golang.org>
* blog: update to x/tools with Markdown-enabled presentRuss Cox2020-03-15
| | | | | | | | Change-Id: I9c8e034eabe739a06fa24afa7e56a1d665d095da Reviewed-on: https://go-review.googlesource.com/c/blog/+/223477 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
* content/gouk15: add a few more line breaksRuss Cox2020-03-11
| | | | | | | | | | | | | Also one missing "by". This will make Markdown diffs sync better. Otherwise there's a rewrite on nearly every line and diff loses track of what matches what. For golang/go#33955. Change-Id: I65391a4c768d925797181af1e054373d38510600 Reviewed-on: https://go-review.googlesource.com/c/blog/+/222842 Reviewed-by: Dmitri Shuralyov <dmitshur@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>
* content: use tabs consistently for code blocks + indentationRuss Cox2020-03-11
| | | | | | | | | | | | A few articles used four spaces instead. The present format will convert to four spaces for indentation on its own; use tabs. The present format does not care what indentation is used, but use tabs everywhere for consistency. For golang/go#33955. Change-Id: I2bab8aa72fa2f68d48fb833b7317f87d7624a05f Reviewed-on: https://go-review.googlesource.com/c/blog/+/222840 Reviewed-by: Ian Lance Taylor <iant@golang.org>
* content: wrap long lines using new program wrap.goRuss Cox2020-03-11
| | | | | | | | | | | Wrapping long lines will make diffs easier to read for the eventual conversion to Markdown. For golang/go#33955. Change-Id: Ibcc1b5a84ccc9144b5fcdc9266f2da3e2cf3c5a3 Reviewed-on: https://go-review.googlesource.com/c/blog/+/222839 Reviewed-by: Ian Lance Taylor <iant@golang.org>
* content: fix some markup typos & mistakesRuss Cox2020-03-11
| | | | | | | | | | For golang/go#33955. Change-Id: I92c3c896055ed1baae34b0d85539068e6221ad38 Reviewed-on: https://go-review.googlesource.com/c/blog/+/222838 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
* content/company-questionnaire2018: remove UTF BOM and CR LF line endingsRuss Cox2020-03-11
| | | | | | | | | | For golang/go#33955. Change-Id: Iecef7537016b629311f67c42500e614ba60b107c Reviewed-on: https://go-review.googlesource.com/c/blog/+/222837 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
* content: add a-new-go-api-for-protocol-buffers.articleDamien Neil2020-03-02
| | | | | | | Change-Id: I73dd948755346463c0576e9d14d9af7243a96ca2 Reviewed-on: https://go-review.googlesource.com/c/blog/+/220352 Reviewed-by: Herbie Ong <herbie@google.com> Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
* content: add go1.14.articleAlexander Rakoczy2020-02-25
| | | | | | | | | | | | | Updates golang/go#27155 Change-Id: I54e45d5ebaa6955e8cfb52e5ce174d3d372035d3 Reviewed-on: https://go-review.googlesource.com/c/blog/+/220649 Run-TryBot: Alexander Rakoczy <alex@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Toshihiro Shiino <shiino.toshihiro@gmail.com> Reviewed-by: Carlos Amedee <carlos@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
* content/store: remove links from articleRuss Cox2020-02-10
| | | | | | | | | The store is no longer online, so stop linking to a broken store. Change-Id: I51677da08e9caed21a75768043805b649fad3488 Reviewed-on: https://go-review.googlesource.com/c/blog/+/218919 Run-TryBot: Russ Cox <rsc@golang.org> Reviewed-by: Russ Cox <rsc@golang.org>
* content: fix duplicate theChen Zhihan2020-02-10
| | | | | | | | | | Change-Id: I104ffd39b09cd965d2956e0e243e70168d7d30a1 GitHub-Last-Rev: b5c5874023b2613fd56bcc467166d8daea0feeb4 GitHub-Pull-Request: golang/blog#32 Reviewed-on: https://go-review.googlesource.com/c/blog/+/218802 Reviewed-by: Bryan C. Mills <bcmills@google.com> Run-TryBot: Bryan C. Mills <bcmills@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
* content: fix link in pkg.go.dev-2020.articleJulie Qiu2020-02-03
| | | | | | | | | | | | | The link text for "file an issue on the Go issue tracker" was https://golang.org/x/discovery-feedback (which is a 404). It is fixed to be https://golang.org/s/discovery-feedback. Fixes golang/go#36968 Change-Id: Ia46ac439544e047bd469c7814c85469d8a5395a2 Reviewed-on: https://go-review.googlesource.com/c/blog/+/217400 Reviewed-by: Andrew Bonventre <andybons@golang.org>