update golang to v1.21; set GOEXPERIMENT=loopvar (#1256)

* golang: update to v1.21, and set GOEXPERIMENT=loopvar

* golang: go mod tidy
This commit is contained in:
bnewbold 2023-08-28 19:35:23 -07:00 committed by GitHub
parent 40e030793a
commit 461c1da6de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 5 deletions

View file

@ -2,6 +2,9 @@
SHELL = /bin/bash
.SHELLFLAGS = -o pipefail -c
# https://github.com/golang/go/wiki/LoopvarExperiment
export GOEXPERIMENT := loopvar
.PHONY: help
help: ## Print info about all commands
@echo "Commands:"