Closed kauppie closed 4 months ago
io.Seek(0, 0)
io.Seek(0, io.SeekStart)
io.Seek(x, io.SeekCurrent)
io.Seek(x, io.SeekEnd)
io.Seek(0, 0)
calls toio.Seek(0, io.SeekStart)
to reduce the use of magic values.io.Seek(x, io.SeekCurrent)
andio.Seek(x, io.SeekEnd)
.