commit | ce31f46e31c619606e1ac2da925de391c4a5c08b | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Fri Aug 13 08:02:22 2021 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Fri Aug 13 14:55:28 2021 +0000 |
tree | e758f1f6022d23e103ed6b07f08b8ac9a496cde7 | |
parent | 5be85c70c9aa660a7f22070989a366b66e5d5693 [diff] |
internal/postgres: factor out delete from imports_unique Add a function that deletes a module from imports_unique, and call it where needed. Change-Id: I0209d09855bf939e644cac646f1b8918bc48e990 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/341852 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Julie Qiu <julie@golang.org>
Pkg.go.dev is a website for discovering and evaluating Go packages and modules.
You can check it out at https://pkg.go.dev.
If you want to report a bug or have a feature suggestion, please first check the known issues to see if your issue is already being discussed. If an issue does not already exist, feel free to file an issue.
For answers to frequently asked questions, see go.dev/about.
You can also chat with us on the #pkgsite Slack channel on the Gophers Slack.
We would love your help!
Our canonical Git repository is located at go.googlesource.com/pkgsite. There is a mirror of the repository at github.com/golang/pkgsite.
To contribute, please read our contributing guide.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.