commit | 62a257014e0e197d50b18949b4fcacb4e0346b8a | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Fri Feb 10 08:08:08 2023 -0500 |
committer | Jonathan Amsterdam <jba@google.com> | Fri Feb 10 16:23:18 2023 +0000 |
tree | 073301468329953c4847f3f26c2cef5339ba073a | |
parent | 341606c402417e1ba2268c5aa1f2dddd1b90d50c [diff] |
internal/scan: add generalized param parsing Add a function that parses query params according to struct fields. Also add a function that parses just the URL path into module, version and suffix. Change-Id: I219b3953462b0c3614d8da9147749b27ce5f6833 Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/467215 Run-TryBot: Jonathan Amsterdam <jba@google.com> Reviewed-by: Julie Qiu <julieqiu@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This repository contains code that serves pkg.go.dev/metrics.
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 time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/pkgsite-metrics:” in the subject line, so it is easy to find.