Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

14 righe
315 B

  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. //go:build go1.13
  5. // +build go1.13
  6. package errors
  7. import "errors"
  8. // Is is errors.Is.
  9. func Is(err, target error) bool { return errors.Is(err, target) }