I want to read a mmap file in golang.
Another process is writing things into it so its size is growing while reading.
I am using
syscall.Mmap(fd int, offset int64, length int, prot int, flags int)
which will return a byte array.
Do I need to keep doing syscall.Mmap
to read the updated mmap? Any better way?