aboutsummaryrefslogtreecommitdiff
path: root/content/package-names.article
Commit message (Collapse)AuthorAge
* 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: 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: 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: fix links to code.google.comChris Broadfoot2017-02-03
| | | | | | | | | | | | | | Some minor fixes and clean up to articles that referred to code.google.com (now defunct). This cleans up all of the top 30 articles (not much point in cleaning up the articles that are less viewed). Fixes golang/go#18907. Change-Id: I38a22f57e1effa8a545b429dface088042df0f91 Reviewed-on: https://go-review.googlesource.com/36311 Reviewed-by: Russ Cox <rsc@golang.org>
* content: update context article to use stdlib import pathEmmanuel Odeke2016-09-26
| | | | | | | | | | | | | Updated context article to use stdlib import path. Updated package-names article to reflect that context is now in stdlib, and added x/time/rate as an example for a longer package name. Fixes golang/go#15562 Change-Id: I58d495527037f5201897825ca11f484561997277 Reviewed-on: https://go-review.googlesource.com/29759 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
* blog: edits to package-names post.Sameer Ajmani2015-02-23
| | | | | | | | | | I received a question about whether package functions named "New" were required (they're not), so I'm adding examples of functions named "WithX" and "FromY" to show other useful forms. Change-Id: Iff3ddec3dca3344762f09ba52de9cd515a4bc863 Reviewed-on: https://go-review.googlesource.com/5572 Reviewed-by: Rob Pike <r@golang.org>
* blog: Package names: address adg's commentsSameer Ajmani2015-02-05
| | | | | | Change-Id: I032f1d9163048e0d4b80c8e0a2330f772bb77e19 Reviewed-on: https://go-review.googlesource.com/3968 Reviewed-by: Andrew Gerrand <adg@golang.org>
* blog: Package names postSameer Ajmani2015-02-04
Change-Id: Iddb15b375e2e11207105d3373b4c8f77e6dd7633 Reviewed-on: https://go-review.googlesource.com/3843 Reviewed-by: Rob Pike <r@golang.org>