The zip package has a FileHeader struct that uses the fields required by zip files.
Unfortunately these fields do not map nicely to os.FileInfo fields.
I think it would be helpful to provide conversion functions:
zip.HeaderForInfo(*os.FileInfo) *zip.FileHeader
zip.InfoForHeader(*zip.FileHeader) *.os.FileInfo
This would be particularly convenient when it comes to date/time and permissions
handling.
Similar functions would also be helpful (but not as necesary) in the tar package.