From e79b1c58fa47acfb3448c0695c0cce58a716a74a Mon Sep 17 00:00:00 2001 From: Ankit Charolia Date: Wed, 16 Aug 2023 18:41:46 +0200 Subject: [PATCH] fix typo --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 004c99b..1405d7a 100755 --- a/main.go +++ b/main.go @@ -143,7 +143,7 @@ func installGoVersion(version string) { fmt.Printf("Go version %s is installed at %s.\n", version, installPath) } -// extractTarGz extracts the contents of a tar.gz archive to the specified directory. +// extractAndCopy extracts the contents of a tar.gz archive to the specified directory. func extractAndCopy(reader io.Reader, destination string) error { gzr, err := gzip.NewReader(reader) if err != nil {