From 24cfac015d1cab55725a4ca9b5497a6ce9085ea0 Mon Sep 17 00:00:00 2001 From: zhedazijingang <123@before.tech> Date: Mon, 9 Sep 2024 22:53:26 +0800 Subject: [PATCH] chore: fix some comments (#4973) Signed-off-by: zhedazijingang <123@before.tech> --- core/chaincode/platforms/golang/platform.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/chaincode/platforms/golang/platform.go b/core/chaincode/platforms/golang/platform.go index 98184030e13..3697e141cdf 100644 --- a/core/chaincode/platforms/golang/platform.go +++ b/core/chaincode/platforms/golang/platform.go @@ -482,13 +482,13 @@ func validateMetadata(name, path string) error { } // dist holds go "distribution" information. The full list of distributions can -// be obtained with `go tool dist list. +// be obtained with `go tool dist list`. type dist struct{ goos, goarch string } -// distributions returns the list of OS and ARCH combinations that we calcluate +// distributions returns the list of OS and ARCH combinations that we calculate // deps for. func distributions() []dist { - // pre-populate linux architecutures + // pre-populate linux architectures dists := map[dist]bool{ {goos: "linux", goarch: "amd64"}: true, }