From d4a23bea218a353e465a9ccfdab714ff80251d5a Mon Sep 17 00:00:00 2001 From: Nicolas Date: Mon, 11 Mar 2024 18:13:46 -0500 Subject: [PATCH] What: update go.mod for go 1.22 update golang.org/x/tools to v0.19.0 Why: the old version panicked for go 1.22 --- go.mod | 9 +++------ go.sum | 13 ++++++------- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/go.mod b/go.mod index b48ab88..5b7afd7 100644 --- a/go.mod +++ b/go.mod @@ -1,10 +1,7 @@ module github.com/alexkohler/nakedret/v2 -go 1.18 +go 1.22 -require golang.org/x/tools v0.8.0 +require golang.org/x/tools v0.19.0 -require ( - golang.org/x/mod v0.10.0 // indirect - golang.org/x/sys v0.7.0 // indirect -) +require golang.org/x/mod v0.16.0 // indirect diff --git a/go.sum b/go.sum index d84f5f1..4672426 100644 --- a/go.sum +++ b/go.sum @@ -1,7 +1,6 @@ -golang.org/x/mod v0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk= -golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= -golang.org/x/sys v0.7.0 h1:3jlCCIQZPdOYu1h8BkNvLz8Kgwtae2cagcG/VamtZRU= -golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/tools v0.8.0 h1:vSDcovVPld282ceKgDimkRSC8kpaH1dgyc9UMzlt84Y= -golang.org/x/tools v0.8.0/go.mod h1:JxBZ99ISMI5ViVkT1tr6tdNmXeTrcpVSD3vZ1RsRdN4= +golang.org/x/mod v0.16.0 h1:QX4fJ0Rr5cPQCF7O9lh9Se4pmwfwskqZfq5moyldzic= +golang.org/x/mod v0.16.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/sync v0.6.0 h1:5BMeUDZ7vkXGfEr1x9B4bRcTH4lpkTkpdh0T/J+qjbQ= +golang.org/x/sync v0.6.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/tools v0.19.0 h1:tfGCXNR1OsFG+sVdLAitlpjAvD/I6dHDKnYrpEZUHkw= +golang.org/x/tools v0.19.0/go.mod h1:qoJWxmGSIBmAeriMx19ogtrEPrGtDbPK634QFIcLAhc=