Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backend: Update to Go 1.21 #735

Merged
merged 2 commits into from
Mar 7, 2024
Merged

backend: Update to Go 1.21 #735

merged 2 commits into from
Mar 7, 2024

Commits on Mar 6, 2024

  1. Update to Go 1.21

    As Go 1.19 reached EOL, update the default Go version to 1.21.
    dongsupark committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    7136b8d View commit details
    Browse the repository at this point in the history
  2. backend: migrate deprecated API calls to the latest

    As math/rand.Read has been deprecated since Go 1.20, it is necessary
    to replace math/rand with crypto/rand, to fix warnings from
    golangci-lint.
    
    As rand.Seed has been deprecated since Go 1.20, it is necessary
    to replace rand.Seed(seed) with rand.New(NewSource(seed)).
    dongsupark committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    692387a View commit details
    Browse the repository at this point in the history