test
This commit is contained in:
parent
2bbf85d354
commit
131941eb23
7
msg.go
7
msg.go
@ -325,5 +325,12 @@ func zipMessages() ([]byte, error) {
|
||||
|
||||
func UnzipMessages(z []byte) error {
|
||||
log.Printf("UnzipMessages : %d bytes.\n", len(z))
|
||||
r := bytes.NewReader(z)
|
||||
zr, err := zip.NewReader(r, len(z))
|
||||
|
||||
for _, f := range zr.File {
|
||||
log.Fprintf("File : %s\n", f.Name)
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user