From 8d95d96b88b5650bc6fb2517a9f3ee9884f920e4 Mon Sep 17 00:00:00 2001 From: catatsuy Date: Sat, 23 Apr 2022 16:41:15 +0900 Subject: [PATCH] remove xerrors Versions older than Go 1.13 are no longer in use. Remove unnecessary dependencies. --- .github/workflows/test.yml | 2 +- cmp/cmpopts/errors_xerrors.go | 19 ------------------- cmp/cmpopts/util_test.go | 13 ++++++------- go.mod | 2 -- go.sum | 2 -- 5 files changed, 7 insertions(+), 31 deletions(-) delete mode 100644 cmp/cmpopts/errors_xerrors.go delete mode 100644 go.sum diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9a50673..a93f058 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,7 @@ jobs: test: strategy: matrix: - go-version: [1.11.x, 1.12.x, 1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x] + go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x] os: [ubuntu-latest, macos-latest] runs-on: ${{ matrix.os }} steps: diff --git a/cmp/cmpopts/errors_xerrors.go b/cmp/cmpopts/errors_xerrors.go deleted file mode 100644 index 60b0727..0000000 --- a/cmp/cmpopts/errors_xerrors.go +++ /dev/null @@ -1,19 +0,0 @@ -// Copyright 2021, The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -//go:build !go1.13 -// +build !go1.13 - -// TODO(≥go1.13): For support on