zero-examples icon indicating copy to clipboard operation
zero-examples copied to clipboard

Update all go-zero examples to Go 1.21 and go-zero v1.9.1

Open Copilot opened this issue 5 months ago • 6 comments

  • [x] Initial plan created
  • [x] Update main repository go.mod to use go-zero v1.9.1
  • [x] Update all HTTP examples (9 modules)
  • [x] Update all logging examples (6 modules)
  • [x] Update other examples (8 modules)
  • [x] Run go mod tidy for all modules
  • [x] Verify changes - all 24 go.mod files now use v1.9.1
  • [x] Fix lint errors in load/main.go for NewRollingWindow API changes
  • [x] Clean up accidentally committed binary
  • [x] Fix build errors in logging examples (fileconsole, logrus, zerolog)

Created from VS Code via the GitHub Pull Request extension.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot avatar Sep 06 '25 15:09 Copilot