mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 14:12:24 -05:00
update dependencies (#296)
This commit is contained in:
parent
2aaec82732
commit
829a934d23
124 changed files with 2453 additions and 1588 deletions
18
vendor/codeberg.org/gruf/go-errors/std.go
generated
vendored
Normal file
18
vendor/codeberg.org/gruf/go-errors/std.go
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
package errors
|
||||
|
||||
import "errors"
|
||||
|
||||
// Is wraps "errors".Is()
|
||||
func Is(err, target error) bool {
|
||||
return errors.Is(err, target)
|
||||
}
|
||||
|
||||
// As wraps "errors".As()
|
||||
func As(err error, target interface{}) bool {
|
||||
return errors.As(err, target)
|
||||
}
|
||||
|
||||
// Unwrap wraps "errors".Unwrap()
|
||||
func Unwrap(err error) error {
|
||||
return errors.Unwrap(err)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue