From 84fc9e75f32f6d3f4ca051a8cdfb5802e30bc72a Mon Sep 17 00:00:00 2001 From: camcui Date: Fri, 12 Apr 2024 14:27:39 +0800 Subject: [PATCH] chore: fix function names in comment Signed-off-by: camcui --- internal/sbom/sbom.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/sbom/sbom.go b/internal/sbom/sbom.go index d1385ef09d..dfb5cb98d1 100644 --- a/internal/sbom/sbom.go +++ b/internal/sbom/sbom.go @@ -49,7 +49,7 @@ func goRef(mod *debug.Module) string { return fmt.Sprintf("pkg:golang/%s@%s?type=module", path, mod.Version) } -// massageGoModVersion massages the output of `go version -m` into a form that +// massageGoVersionM massages the output of `go version -m` into a form that // can be consumed by ParseBuildInfo. // // `go version -m` adds a line at the beginning of its output, and tabs at the