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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade package versions and Upgarde to go 1.21 #81

Closed
mehdihadeli opened this issue Aug 30, 2023 · 2 comments
Closed

Upgrade package versions and Upgarde to go 1.21 #81

mehdihadeli opened this issue Aug 30, 2023 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@mehdihadeli
Copy link
Owner

No description provided.

@mehdihadeli mehdihadeli added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Aug 30, 2023
@mehdihadeli mehdihadeli changed the title Upgrade package versions Upgrade package versions and Upgarde to go 21 Aug 31, 2023
@Alan-MQ
Copy link
Contributor

Alan-MQ commented Aug 31, 2023

in order to upgrade to go 21, we just modify go.mod at the second line to go 1.21?
but actually I don't have a clue about how we upgrade package versions. for all packages? including pkg/ folder? that could cause some compatiable problem right?

let me try this one for now
https://golang.cafe/blog/how-to-upgrade-golang-dependencies.html

@mehdihadeli
Copy link
Owner Author

mehdihadeli commented Aug 31, 2023

Yes, just change the version in go.mod in each service and pkg module, also for GitHub action.
Yes it is fine, maybe something like go get -u -t -d -v ./... for each service.
After upgrading, the unit and integration tests should be pass as well.

@mehdihadeli mehdihadeli changed the title Upgrade package versions and Upgarde to go 21 Upgrade package versions and Upgarde to go 1.21 Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants