commit | e15ed6808f2cddcdfe63ad7687280a066cf98f54 | [log] [tgz] |
---|---|---|
author | Nao Yonashiro <owan.orisano@gmail.com> | Thu Feb 25 16:35:09 2021 +0000 |
committer | Dmitri Shuralyov <dmitshur@golang.org> | Sun Feb 28 17:20:46 2021 +0000 |
tree | 144e896429fa0719fe0a2f04e8182dcece61e3a7 | |
parent | 4b7f5046dfa8dbb85c3da5bedc382953353d5f99 [diff] |
content/context-and-structs: fix duplicate arguments I renamed the argument to avoid duplicate variable names on example. Change-Id: I7fea6d55c713880e5597f6e923e03c05e19792fd GitHub-Last-Rev: b52867484baf5258325bbb941b8805e814acac1c GitHub-Pull-Request: golang/blog#49 Reviewed-on: https://go-review.googlesource.com/c/blog/+/296169 Reviewed-by: Jean de Klerk <deklerk@google.com> Trust: Dmitri Shuralyov <dmitshur@golang.org> Trust: Jean de Klerk <deklerk@google.com>
This repository holds the Go Blog server code and content.
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.
To run the blog server locally:
go run . -reload
and then visit http://localhost:8080/ in your browser.
Articles are written in the x/tools/present format. 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.
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 “x/blog:” in the subject line, so it is easy to find.
To deploy blog.golang.org, run:
GO111MODULE=on gcloud --project=golang-org app deploy --no-promote app.yaml
This will create a new version, which can be viewed within the golang-org GCP project.
Check that the deployed version looks OK (click the version link in GCP).
If all is well, click “Migrate Traffic” to move 100% of the blog.golang.org traffic to the new version.
You're done.