From e490247d3b5bc48f82fdd9a1a357a2455106e6f2 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 5 Feb 2021 00:27:06 +0100 Subject: [PATCH] =?UTF-8?q?cmp/cmpopts:=20use=20errors.Is=20with=20?= =?UTF-8?q?=E2=89=A5go1.13=20in=20compareErrors?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the standard definition of errors.Is to implement compareErrors with ≥go1.13. Retain the implementation using golang.org/x/xerrors for versions