GoLang 1.26 introduces the go fix command which modernizes parts of the language. For this issue do 2 things:
- 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 #175 and UTDNebula/nebula-api#407
GoLang 1.26 introduces the
go fixcommand which modernizes parts of the language. For this issue do 2 things: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 #175 and UTDNebula/nebula-api#407