chore: update go snippets

This commit is contained in:
Simon Lasbrugnas 2024-12-02 11:50:09 +01:00
parent e76fe9dc65
commit 1415109e47
Signed by untrusted user who does not match committer: simon
GPG key ID: 86039876BA6ED8DE

View file

@ -14,9 +14,9 @@ ls.add_snippets("go", {
s("err", fmt([[
if err != nil {{
return err
return {}
}}
]], {})),
]], { i(1) })),
s("iferr", fmt([[
if err := {}; err != nil {{