Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
scratch: add doc.go #27427
I set up a custom domain so the scratch repo is "go get" able, and godocs are now browsable: https://godoc.org/goscratch.club
However this now makes clear that we should have a
For posterity, the packages inside the scratch repo were always go gettable at their canonical source:
The ".git" suffix is necessary because go.googlesource.com isn't one of the few common code hosting sites that have special syntax. The mechanism is documented at https://golang.org/cmd/go/#hdr-Remote_import_paths, starting at the "For code hosted on other servers" paragraph.
Edit: They're also available via the GitHub mirror repo, e.g., https://godoc.org/github.com/golang/scratch.