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 #223

Merged
merged 2 commits into from Dec 1, 2021
Merged

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

merged 2 commits into from Dec 1, 2021

Conversation

Juneezee
Copy link
Contributor

@Juneezee Juneezee commented Dec 1, 2021

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

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 by 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>
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
@CLAassistant
Copy link

CLAassistant commented Dec 1, 2021

CLA assistant check
All committers have signed the CLA.

@davidzhao
Copy link
Member

this is helpful. thanks for the contribution!

@davidzhao davidzhao merged commit e37afdc into livekit:master Dec 1, 2021
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.

None yet

3 participants