Updated plugins
This commit is contained in:
1 parent
83980d8f24
commit
92c794cc2b
100 files changed
+3555
-1631
No files matched your search
@@ -274,7 +274,7 @@ snippet ja "Marshalable json alias"
|
||||
}
|
||||
|
||||
|
||||
snippet errwr "Error handling with errors.Wrap"
|
||||
snippet errwr "Error handling with fmt.Errorf"
|
||||
if ${1}err != nil {
|
||||
return errors.Wrap(err, "${2}")
|
||||
return fmt.Errorf("${2} %w", err)
|
||||
}
|
||||
Reference in new issue
Block a user