Changes in new versions / Go 1.13
Error wrapping with %w
errors.Is checks the wrapped chain
errors.As unwraps to a concrete type
Digit separators in numeric literals
Binary and octal literals
Hexadecimal floating-point literals
Binary and octal literals
This example is in the full version, available in the app stores:
Golang Recipes
App Store
Code Recipes
App Store
Already bought it? Sign in to your account