Close files
This commit is contained in:
parent
be0835e77c
commit
6244b5ee89
2 changed files with 2 additions and 0 deletions
|
|
@ -40,6 +40,7 @@ func main() {
|
|||
fmt.Println(err)
|
||||
return
|
||||
}
|
||||
defer file.Close()
|
||||
|
||||
r := csv.NewReader(file)
|
||||
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ func main() {
|
|||
fmt.Println(err)
|
||||
return
|
||||
}
|
||||
defer file.Close()
|
||||
|
||||
r := csv.NewReader(file)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue