From ef5fd0413b0be179a4481202415f05b459c0cbb9 Mon Sep 17 00:00:00 2001 From: Eng Zer Jun Date: Tue, 7 Dec 2021 00:16:39 +0800 Subject: [PATCH] build: upgrade go directive in go.mod to 1.17 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 --- go.mod | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index fd327a51455..238a7a61692 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,6 @@ module github.com/google/go-github/v41 require ( - github.com/golang/protobuf v1.3.2 // indirect github.com/google/go-cmp v0.5.6 github.com/google/go-querystring v1.1.0 golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 @@ -9,4 +8,11 @@ require ( google.golang.org/appengine v1.6.7 ) -go 1.16 +require ( + github.com/golang/protobuf v1.3.2 // indirect + golang.org/x/net v0.0.0-20210226172049-e18ecbb05110 // indirect + golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 // indirect + golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1 // indirect +) + +go 1.17