Open atuleu opened 9 years ago
defer statement are deferred to end of function. For loops that open many file, we can reach the limit of the file we can open. Therefore this statement should be enclosed (in go routine per example)
defer statement are deferred to end of function. For loops that open many file, we can reach the limit of the file we can open. Therefore this statement should be enclosed (in go routine per example)