Is there any function call or simple way to delete first N bytes from a text file in golang? Assuming that the file is contentiously appended by various go-routines, simultaneously I want to delete first N bytes of file.
相关问题
- Golang mongodb aggregation
- I want to trace logs using a Macro multi parameter
- Error message 'No handlers could be found for
- How to flatten out a nested json structure in go
- convert logback.xml to log4j.properties
相关文章
- how do I log requests and responses for debugging
- Can I run a single test in a suite?
- How to check if a request was cancelled
- Is it possible to implement an interface with unex
- How to access value of first index of array in Go
- Android Studio doesn't display logs by package
- Embedded Interface
- Stacktrace does not print in Glassfish 4.1 Cluster
You need to do
f.Seek
to jump over first bytes and than do regular reading, see example: