From f7b1909c82a8958747e5c87c6a5c3b2eaed8a33d Mon Sep 17 00:00:00 2001 From: Cody Oss Date: Tue, 28 Jul 2020 14:36:39 -0600 Subject: [PATCH] remove rsc.io/quote/v3 as dep --- go.mod | 5 +---- go.sum | 5 ----- mockgen/mockgen_test.go | 2 +- tools.go | 22 ---------------------- 4 files changed, 2 insertions(+), 32 deletions(-) delete mode 100644 tools.go diff --git a/go.mod b/go.mod index edfb6d40..a675ec40 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,5 @@ module github.com/golang/mock -require ( - golang.org/x/tools v0.0.0-20190425150028-36563e24a262 - rsc.io/quote/v3 v3.1.0 -) +require golang.org/x/tools v0.0.0-20190425150028-36563e24a262 go 1.11 diff --git a/go.sum b/go.sum index 21dbce53..1b8dad38 100644 --- a/go.sum +++ b/go.sum @@ -2,12 +2,7 @@ golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACk golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= -golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/tools v0.0.0-20190425150028-36563e24a262 h1:qsl9y/CJx34tuA7QCPNp86JNJe4spst6Ff8MjvPUdPg= golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -rsc.io/quote/v3 v3.1.0 h1:9JKUTTIUgS6kzR9mK1YuGKv6Nl+DijDNIc0ghT58FaY= -rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= -rsc.io/sampler v1.3.0 h1:7uVkIFmeBqHfdjD+gZwtXXI+RODJ2Wc4O7MPEh/QiW4= -rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= diff --git a/mockgen/mockgen_test.go b/mockgen/mockgen_test.go index 515efb2f..1b8e31b9 100644 --- a/mockgen/mockgen_test.go +++ b/mockgen/mockgen_test.go @@ -344,7 +344,7 @@ func Test_createPackageMap(t *testing.T) { }{ {"golang package", "context", "context", true}, {"third party", "golang.org/x/tools/present", "present", true}, - {"modules", "rsc.io/quote/v3", "quote", true}, + //{"modules", "rsc.io/quote/v3", "quote", true}, {"fail", "this/should/not/work", "", false}, } var importPaths []string diff --git a/tools.go b/tools.go deleted file mode 100644 index c1ea6236..00000000 --- a/tools.go +++ /dev/null @@ -1,22 +0,0 @@ -// +build tools - -// Copyright 2020 Google Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package mock - -// These imports are included here so they don't disappear from go.mod file. -import ( - _ "rsc.io/quote/v3" -)