aboutsummaryrefslogtreecommitdiff
path: root/cmd/pkgsite
diff options
context:
space:
mode:
authorHana (Hyang-Ah) Kim <hyangah@gmail.com>2022-11-10 18:01:09 -0500
committerHyang-Ah Hana Kim <hyangah@gmail.com>2022-11-15 20:10:34 +0000
commit694b5d3c2a971c2a1dcdf7ab34e521b762bd326d (patch)
treec28563b9af811a217f4e9206c06a401b132ebda2 /cmd/pkgsite
parentec7aed868113f4b087c5f7eb4c841131922efb2e (diff)
downloadgo-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 'cmd/pkgsite')
-rw-r--r--cmd/pkgsite/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/pkgsite/main.go b/cmd/pkgsite/main.go
index c273c82b..29fd67e8 100644
--- a/cmd/pkgsite/main.go
+++ b/cmd/pkgsite/main.go
@@ -294,7 +294,7 @@ func listModsForPaths(paths []string, cacheDir string) ([]string, []internal.Mod
return outPaths, cacheMods, nil
}
-func die(format string, args ...interface{}) {
+func die(format string, args ...any) {
fmt.Fprintf(os.Stderr, format, args...)
fmt.Fprintln(os.Stderr)
os.Exit(1)