chore(vhs): improve iferr demo
This commit is contained in:
parent
399845fee2
commit
0de1892ca9
2 changed files with 1 additions and 1 deletions
BIN
vhs/iferr.gif
BIN
vhs/iferr.gif
Binary file not shown.
|
Before Width: | Height: | Size: 89 KiB After Width: | Height: | Size: 93 KiB |
|
|
@ -1,6 +1,6 @@
|
||||||
package demos
|
package demos
|
||||||
|
|
||||||
func ifErr() {
|
func ifErr() error {
|
||||||
out, err := doSomething()
|
out, err := doSomething()
|
||||||
|
|
||||||
_ = out
|
_ = out
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue