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

build: upgrade go directive in go.mod to 1.17 #26

Merged
merged 1 commit into from
Dec 6, 2021
Merged

build: upgrade go directive in go.mod to 1.17 #26

merged 1 commit into from
Dec 6, 2021

Conversation

Juneezee
Copy link
Contributor

@Juneezee Juneezee commented Dec 6, 2021

This PR upgrades the go directive in go.mod file by running go mod tidy -go=1.17 to enable module graph pruning and lazy module loading.

Note 1: This does not prevent users with earlier Go versions from successfully building packages from this module.

Note 2: The additional require directive is used to record indirect dependencies for Go 1.17 or higher, see https://go.dev/ref/mod#go-mod-file-go.

This commit enables support for module graph pruning and lazy module
loading for projects that are at Go 1.17 or higher.

Reference: https://go.dev/ref/mod#go-mod-file-go
Reference: https://go.dev/ref/mod#graph-pruning
Reference: https://go.dev/ref/mod#lazy-loading
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Dec 6, 2021

Codecov Report

Merging #26 (ef65a7b) into master (d78a798) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #26   +/-   ##
=======================================
  Coverage   96.04%   96.04%           
=======================================
  Files          11       11           
  Lines         354      354           
=======================================
  Hits          340      340           
  Misses          7        7           
  Partials        7        7           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d78a798...ef65a7b. Read the comment docs.

@DarthPestilane DarthPestilane merged commit 1643746 into DarthPestilane:master Dec 6, 2021
@DarthPestilane
Copy link
Owner

Thanks for the contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants