Package mbox parses the mbox file format into messages.
Please refer to GoDoc for the API documentation.
- github.com/sam-falvo/mbox
- github.com/bthomson/mbox
Both packages provide ways to the mbox file format. After looking at the code of both packages I decided to roll my own variant, leveraging the standard library as much as possible. This implementation basically boils down to one well tested split function for bufio.Scanner.