[go.mod] Update to go1.22

... and start using two new features in go1.22 (see
https://tip.golang.org/doc/go1.22#language):
- Loop variables are created anew per-loop instance, so `i := i` patterns
  in for loops are no longer necessary.
- For loops now support the syntax `for i := range 100`, which is
  equivalent to `for i := 0; i < 100; i++`.

Change-Id: I4a5a16fd1eed681245a183de12816ca94f5a8432
Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/infra/+/999394
Reviewed-by: Ina Huh <ihuh@google.com>
Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com>
Fuchsia-Auto-Submit: Oliver Newman <olivernewman@google.com>
12 files changed
tree: b3008d971474ed75a8f8438b492ca1e991386050
  1. artifacts/
  2. buildbucket/
  3. checkout/
  4. cmd/
  5. execution/
  6. flagutil/
  7. functools/
  8. gerrit/
  9. gitiles/
  10. issuetracker/
  11. rpcutil/
  12. scripts/
  13. slsa/
  14. third_party/
  15. vendor/
  16. .gitignore
  17. AUTHORS
  18. go.mod
  19. go.sum
  20. LICENSE
  21. manifest
  22. PATENTS
  23. README.md
README.md

infra

This repo contains tools and config files necessary to run infrastructure related to builds, code review, version control, and continuous integrations.