diff options
| author | Hana (Hyang-Ah) Kim <hyangah@gmail.com> | 2022-11-10 18:01:09 -0500 |
|---|---|---|
| committer | Hyang-Ah Hana Kim <hyangah@gmail.com> | 2022-11-15 20:10:34 +0000 |
| commit | 694b5d3c2a971c2a1dcdf7ab34e521b762bd326d (patch) | |
| tree | c28563b9af811a217f4e9206c06a401b132ebda2 /internal/postgres/requeue.go | |
| parent | ec7aed868113f4b087c5f7eb4c841131922efb2e (diff) | |
| download | go-x-pkgsite-694b5d3c2a971c2a1dcdf7ab34e521b762bd326d.tar.xz | |
all: convert interface{} to any
Change-Id: I1f3b7cc8899c7707abb01e3d14807c37c3451382
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/449695
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
Diffstat (limited to 'internal/postgres/requeue.go')
| -rw-r--r-- | internal/postgres/requeue.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/postgres/requeue.go b/internal/postgres/requeue.go index b1b1d52a..618ad0e8 100644 --- a/internal/postgres/requeue.go +++ b/internal/postgres/requeue.go @@ -174,7 +174,7 @@ func (db *DB) GetNextModulesToFetch(ctx context.Context, limit int) (_ []*intern collect := func(rows *sql.Rows) error { // Scan the last two columns separately; they are in the query only for sorting. - scan := func(dests ...interface{}) error { + scan := func(dests ...any) error { var npkg int return rows.Scan(append(dests, &npkg)...) } |
