Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building error #43

Closed
orca-zhang opened this issue Apr 9, 2021 · 2 comments
Closed

building error #43

orca-zhang opened this issue Apr 9, 2021 · 2 comments

Comments

@orca-zhang
Copy link

# github.com/smartystreets/assertions
../../smartystreets/assertions/panic.go:81:36: undefined: errors.Is
../../smartystreets/assertions/panic.go:116:36: undefined: errors.Is
../../smartystreets/assertions/type.go:146:6: undefined: errors.Is
@mdwhatcott
Copy link
Contributor

mdwhatcott commented Apr 9, 2021

@orca-zhang - what version of Go are you using?

Per the go.mod file, usage of this module requires 1.13 or higher. Go 1.13 shipped with new error-handling semantics, including the errors.Is method:

https://golang.org/doc/go1.13#error_wrapping

@orca-zhang
Copy link
Author

@mdwhatcott the error occurred when I using semaphoreci to build my project
and the latest go version is 1.11.0.
I tried upgrade to use semaphoreci 2.0 and it's OK now.
Thanks all the same. Best regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants