From 97118f68288c7b7b434c8098e32d1f74d7158c64 Mon Sep 17 00:00:00 2001 From: Lin Yang Date: Tue, 24 Dec 2024 11:31:13 +0800 Subject: [PATCH] refactor: re-organize dependencies in go.mod Signed-off-by: Lin Yang --- go.mod | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/go.mod b/go.mod index a2dd335..065595e 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,8 @@ module github.com/flomesh-io/xnet go 1.23 +toolchain go1.23.4 + require ( github.com/cilium/ebpf v0.10.0 github.com/containernetworking/cni v1.2.3 @@ -18,22 +20,12 @@ require ( github.com/spf13/pflag v1.0.5 github.com/vishvananda/netlink v1.3.0 golang.org/x/sys v0.25.0 + golang.org/x/time v0.6.0 k8s.io/api v0.31.2 k8s.io/apimachinery v0.31.2 k8s.io/client-go v0.31.2 ) -require ( - github.com/hashicorp/go-version v1.7.0 // indirect - github.com/inconshreveable/mousetrap v1.1.0 // indirect - github.com/jonboulle/clockwork v0.4.0 // indirect - github.com/mitchellh/iochan v1.0.0 // indirect - github.com/onsi/ginkgo/v2 v2.20.2 // indirect - github.com/onsi/gomega v1.34.2 // indirect - github.com/robfig/cron/v3 v3.0.1 // indirect - golang.org/x/exp v0.0.0-20240904232852-e7e105dedf7e // indirect -) - require ( github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/emicklei/go-restful/v3 v3.11.0 // indirect @@ -48,7 +40,10 @@ require ( github.com/google/go-cmp v0.6.0 // indirect github.com/google/gofuzz v1.2.0 // indirect github.com/google/uuid v1.6.0 // indirect + github.com/hashicorp/go-version v1.7.0 // indirect github.com/imdario/mergo v0.3.13 // indirect + github.com/inconshreveable/mousetrap v1.1.0 // indirect + github.com/jonboulle/clockwork v0.4.0 // indirect github.com/josharian/intern v1.0.0 // indirect github.com/josharian/native v1.1.0 // indirect github.com/json-iterator/go v1.1.12 // indirect @@ -57,17 +52,21 @@ require ( github.com/mattn/go-isatty v0.0.20 // indirect github.com/mdlayher/netlink v1.6.0 // indirect github.com/mdlayher/socket v0.1.1 // indirect + github.com/mitchellh/iochan v1.0.0 // indirect github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect github.com/modern-go/reflect2 v1.0.2 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect + github.com/onsi/ginkgo/v2 v2.20.2 // indirect + github.com/onsi/gomega v1.34.2 // indirect + github.com/robfig/cron/v3 v3.0.1 // indirect github.com/vishvananda/netns v0.0.4 // indirect github.com/x448/float16 v0.8.4 // indirect + golang.org/x/exp v0.0.0-20240904232852-e7e105dedf7e // indirect golang.org/x/net v0.28.0 // indirect golang.org/x/oauth2 v0.22.0 // indirect golang.org/x/sync v0.8.0 // indirect golang.org/x/term v0.24.0 // indirect golang.org/x/text v0.18.0 // indirect - golang.org/x/time v0.6.0 google.golang.org/protobuf v1.34.2 // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect