Skip to content

Commit 77af944

Browse files
committed
README: fix error: no new variables on left side of :=
1 parent 38ef509 commit 77af944

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ func main() {
3939
}
4040

4141
// Dump database to file
42-
err := dumper.Dump()
43-
if err != nil {
42+
if err := dumper.Dump(); err != nil {
4443
fmt.Println("Error dumping:", err)
4544
return
4645
}

0 commit comments

Comments
 (0)