None
EN
Go I/O Closer, Seeker, WriterTo, and ReaderFrom
[]
VictoriaMetrics: Simple & Reliable Monitoring for Everyone on VictoriaMetrics
If you don’t close that file properly, the file descriptor sticks around, and if you keep opening files without closing them, the system can eventually run out of available file descriptors. Usually, when working with files or streams, you handle data the old-fashioned way: calling Read() on the source, Write() on the destination, and transferring data chunk by chunk.