Go Doc Dot Org
Switch branches/tags
Nothing to show
Clone or download
dmitshur doc: factor out redirect logic from newPackage to gosrc.MaybeRedirect
This is a refactor to bring the redirect check into a small dedicated
function within gosrc. It can be tested more directly/easily.

Change-Id: Ib9c907bae00384c1f7fef74146b19b715976c546
Reviewed-on: https://go-review.googlesource.com/134475
Reviewed-by: Tuo Shan <shantuo@google.com>
Latest commit 8b03190 Sep 10, 2018


This project is the source for https://godoc.org/

GoDoc Build Status

The code in this project is designed to be used by godoc.org. Send mail to golang-dev@googlegroups.com if you want to discuss other uses of the code.


Send ideas and questions to golang-dev@googlegroups.com. Request features and report bugs using the GitHub Issue Tracker.


Contributions to this project are welcome, though please file an issue. before starting work on anything major.

Please refer to the Contribution Guidelines on how to submit changes.

We use https://go-review.googlesource.com to review change submissions.

Getting the Source

To get started contributing to this project, clone the repository from its canonical location

git clone https://go.googlesource.com/gddo $GOPATH/src/github.com/golang/gddo

Information on how to set up a local environment is available at https://github.com/golang/gddo/wiki/Development-Environment-Setup.

More Documentation

More documentation about this project is available on the wiki.