This repository has been archived by the owner on Dec 1, 2021. It is now read-only.
Commits on Nov 3, 2019
-
feat: support std errors functions
add function `Is`, `As` and `Unwrap`, like std errors, so that we can continue to use pkg/errors with go1.13 compatibility Signed-off-by: Sherlock Holo <sherlockya@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 69e8329 - Browse repository at this point
Copy the full SHA 69e8329View commit details -
style: delete useless comments
Signed-off-by: Sherlock Holo <sherlockya@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5526281 - Browse repository at this point
Copy the full SHA 5526281View commit details -
update makefile to download dependencies before test anything Signed-off-by: Sherlock Holo <sherlockya@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 227a7b4 - Browse repository at this point
Copy the full SHA 227a7b4View commit details -
Signed-off-by: Sherlock Holo <sherlockya@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9c503b9 - Browse repository at this point
Copy the full SHA 9c503b9View commit details
Commits on Nov 4, 2019
-
chore: delete useless comments
Signed-off-by: Sherlock Holo <sherlockya@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 34b42fb - Browse repository at this point
Copy the full SHA 34b42fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 057b7e2 - Browse repository at this point
Copy the full SHA 057b7e2View commit details
Commits on Nov 7, 2019
-
Configuration menu - View commit details
-
Copy full SHA for d9389f6 - Browse repository at this point
Copy the full SHA d9389f6View commit details
Commits on Nov 9, 2019
-
Configuration menu - View commit details
-
Copy full SHA for c93d5ce - Browse repository at this point
Copy the full SHA c93d5ceView commit details -
test: add more check for As unit test
Signed-off-by: Sherlock Holo <sherlockya@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d0d34df - Browse repository at this point
Copy the full SHA d0d34dfView commit details -
revert: only support Is As Unwrap for >=go1.13
Signed-off-by: Sherlock Holo <sherlockya@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 487ff7b - Browse repository at this point
Copy the full SHA 487ff7bView commit details
Commits on Nov 12, 2019
-
feat(Unwrap): allow <go1.13 can use Unwrap
`Unwrap` just use type assert, it doesn't need go1.13 actually Signed-off-by: Sherlock Holo <sherlockya@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e473c5d - Browse repository at this point
Copy the full SHA e473c5dView commit details -
test: add go1.13 errors compatibility check
Signed-off-by: Sherlock Holo <sherlockya@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for bd678d4 - Browse repository at this point
Copy the full SHA bd678d4View commit details -
refactor(Unwrap): don't allow <go1.13 use Unwrap
If we implement Unwrap ourselves, may create a risk of incompatibility if Go 1.14 subtly changes its `Unwrap` implementation. <go1.13 users doesn't have `Is` or `As`, if they want, they will use xerrors and it also provides `Unwrap` Signed-off-by: Sherlock Holo <sherlockya@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 613b81c - Browse repository at this point
Copy the full SHA 613b81cView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.