diff options
author | cos <cos> | 2018-03-11 18:30:35 +0800 |
---|---|---|
committer | cos <cos> | 2018-03-11 18:31:02 +0800 |
commit | 23c40db4cb7e1b02863977a8fb696ef089ab2e37 (patch) | |
tree | 8cf57f9295dc943a3f814551bd8677db428deda1 | |
parent | f3b58f6d3633040ab7e02c3ec2a38f924bc3ed02 (diff) | |
download | hisgle-23c40db4cb7e1b02863977a8fb696ef089ab2e37.zip |
Remove unnecessary defer.
Not needed since statement is at end of function.
-rw-r--r-- | hisgle.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -118,5 +118,5 @@ func main() { } } } - defer db.Close() + db.Close() } |