GoLang 1.26 introduces the go fix command which modernizes parts of the language. For this issue do 3 things:
- Update to GoLang 1.26. Don't forget to change the version in the
Dockerfile file.
- Run the
go fix command on the codebase.
- Create a new GitHub action similar to
.github/workflows/go.yml that runs go fix with the diff flag and fails if there are any changes. Don't add this to the existing .github/workflows/go.yml workflow as there is no need to run this on both Ubuntu and Windows.
Related to #401 and UTDNebula/api-tools#178
GoLang 1.26 introduces the
go fixcommand which modernizes parts of the language. For this issue do 3 things:Dockerfilefile.go fixcommand on the codebase..github/workflows/go.ymlthat runsgo fixwith thediffflag and fails if there are any changes. Don't add this to the existing.github/workflows/go.ymlworkflow as there is no need to run this on both Ubuntu and Windows.Related to #401 and UTDNebula/api-tools#178