content/context: use req.WithContext

(*Transport).CancelRequest is now deprecated. Use the new
(*Request).WithContext method which inherits the parent context.

Fixes golang/go#29075

Change-Id: I4a275a396c6ed64eef73b688a049e7bc372f07d4
Reviewed-on: https://go-review.googlesource.com/c/153957
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
1 file changed
tree: fb0c208a4e2acc0d5855ed71841fbe0012a575d0
  1. content/
  2. static/
  3. support/
  4. template/
  5. .gitattributes
  6. app.yaml
  7. appengine.go
  8. AUTHORS
  9. blog.go
  10. codereview.cfg
  11. CONTRIBUTING.md
  12. CONTRIBUTORS
  13. LICENSE
  14. local.go
  15. local_test.go
  16. PATENTS
  17. README.md
  18. rewrite.go
README.md

Go Blog

This repository holds the Go Blog server code and content.

Download/Install

The easiest way to install is to run go get -u golang.org/x/blog. You can also manually git clone the repository to $GOPATH/src/golang.org/x/blog.

Running Locally

To run the blog server locally:

dev_appserver.py app.yaml

and then visit http://localhost:8080/ in your browser.

Contributing

Articles on the blog should have broad interest to the Go community, and are mainly written by Go contributors. We encourage you to share your experiences using Go on your own website, and to share them with the Go community. Hugo is a static site server written in Go that makes it easy to write and share your stories.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.

The main issue tracker for the blog is located at https://github.com/golang/go/issues. Prefix your issue with “blog:” in the subject line, so it is easy to find.