khenaidoo | 5fc5cea | 2021-08-11 17:39:16 -0400 | [diff] [blame] | 1 | // Copyright 2020 The Go Authors. All rights reserved. |
2 | // Use of this source code is governed by a BSD-style | ||||
3 | // license that can be found in the LICENSE file. | ||||
4 | |||||
Joey Armstrong | ba3d9d1 | 2024-01-15 14:22:11 -0500 | [diff] [blame] | 5 | //go:build go1.13 |
khenaidoo | 5fc5cea | 2021-08-11 17:39:16 -0400 | [diff] [blame] | 6 | // +build go1.13 |
7 | |||||
8 | package errors | ||||
9 | |||||
10 | import "errors" | ||||
11 | |||||
12 | // Is is errors.Is. | ||||
13 | func Is(err, target error) bool { return errors.Is(err, target) } |