| commit | 74270798a679476a7f5e941d97f447736ba0b050 | [log] [tgz] |
|---|---|---|
| author | Jonathan Amsterdam <jba@google.com> | Fri Mar 24 11:39:44 2023 -0400 |
| committer | Jonathan Amsterdam <jba@google.com> | Tue Mar 28 19:32:17 2023 +0000 |
| tree | 5d1fa70483483373d4ee50a7b1df8023bb8c4258 | |
| parent | 32bf804e9f04cb8b9bc0bf6a22371d254d18d0eb [diff] |
internal/{derrors,worker}: move cleanup to derrors
Move the cleanup function to the derrors package and export it
so it can be used anywhere.
Change-Id: Ibb41faf96702e229c312233102f2ea3abc9e6202
Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/479236
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Zvonimir Pavlinovic <zpavlinovic@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.