Hi everyone, I am building a system where we store data (text) in a file for a day and at the end of the day the file is rotated. For each data, one single file contains the data for that file. I was wondering what would be the best way to read from the file, opening the file for reading each time, seeking to the offset for the data and reading or maintaining a pool of frequently accessed files as *os.File and reading from them by seeking, if possible.
-- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/f96c3435-73b0-4821-9374-10a9e357a8d2%40googlegroups.com.