mailru / easygo

Tools for building go apps.
MIT License
673 stars 123 forks source link

How do you handle duplicate files? #5

Closed mukul-bittmax closed 6 years ago

mukul-bittmax commented 6 years ago

When you use conn.File(). It returns a duplicate file instead, as mentioned here. Docs say you need to close those files yourself, how do you handle that? And does it have any impact of open fd limit of os or any other side effects?