diff options
| author | Russ Cox <rsc@golang.org> | 2022-04-11 13:12:03 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-04-11 21:55:57 +0000 |
| commit | 8ea409f829091208d2d0ba4d81ecbe83b0fee9bb (patch) | |
| tree | 0c0d0f5d753b722533b3bba32e3e23d4aa3059cd /internal/worker/server.go | |
| parent | 7ca74fe938640d7c9e378dc8e5821b58313cdd68 (diff) | |
| download | go-x-pkgsite-8ea409f829091208d2d0ba4d81ecbe83b0fee9bb.tar.xz | |
all: gofmt
Gofmt to update doc comments to the new formatting.
For golang/go#51082.
Change-Id: Ia9e71e7ecac75822ff43d6c7e60f512442a5fa50
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/399617
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Diffstat (limited to 'internal/worker/server.go')
| -rw-r--r-- | internal/worker/server.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/worker/server.go b/internal/worker/server.go index a7ef8582..e6b07ad7 100644 --- a/internal/worker/server.go +++ b/internal/worker/server.go @@ -370,6 +370,7 @@ func (s *Server) reportError(ctx context.Context, err error, w http.ResponseWrit // is assumed to have either of the following two structures: // - <module>/@v/<version> // - <module>/@latest +// // (this is symmetric with the proxy url scheme) func parseModulePathAndVersion(requestPath string) (string, string, error) { p := strings.TrimPrefix(requestPath, "/") |
