From 9cf2b0ab39f48b4ce5688c345c52ba9ad57cb2d3 Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Mon, 24 Feb 2020 13:51:01 -0800 Subject: [PATCH] Drop dependency on golang.org/x/{tools,lint} (#65) We use `golang.org/x/{tools,lint}` for dev-time tooling only. We don't need to declare it as a library dependency. This causes issues like https://github.com/uber-go/multierr/issues/35. This change drops these depnedencies by renaming the tools.go so that these are considered test dependencies only. `go mod vendor` does not consider test dependencies. --- CHANGELOG.md | 3 ++- tools.go => tools_test.go | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename tools.go => tools_test.go (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index dde06cd..5ee9ff4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] -- No changes yet. +### Changed +- Drop library dependency on `golang.org/x/{lint, tools}`. ## [1.5.1] - 2019-11-19 - Fix bug where `Bool.CAS` and `Bool.Toggle` do work correctly together diff --git a/tools.go b/tools_test.go similarity index 100% rename from tools.go rename to tools_test.go