aboutsummaryrefslogtreecommitdiff
path: root/content/c-go-cgo.article
Commit message (Collapse)AuthorAge
* 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>
* 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: 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>
* 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>
* blog: fix link to cgo source file in Cgo post.Sameer Ajmani2015-10-12
| | | | | | | Change-Id: Id22ff1842f85ceb312c2f5e37e6440e7e80ac727 Reviewed-on: https://go-review.googlesource.com/15690 Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Andrew Gerrand <adg@golang.org>
* go.blog: update tagsAndrew Gerrand2013-06-05
| | | | | | | | | | This makes the articles cross-reference each other better. In particular, I added the "technical" tag for in-depth technical posts. R=bradfitz, r CC=golang-dev https://golang.org/cl/9960043
* go.blog: add contentAndrew Gerrand2013-03-08
R=golang-dev, r CC=golang-dev https://golang.org/cl/7436052