diff --git a/crypto_test.go b/crypto_test.go index bfdd445..787cedf 100644 --- a/crypto_test.go +++ b/crypto_test.go @@ -7,7 +7,7 @@ import ( "testing" ) -var pwFn = func() []byte { +func pwFn() []byte { return []byte("golang") } diff --git a/struct.go b/struct.go index 95f4593..88c6219 100644 --- a/struct.go +++ b/struct.go @@ -3,7 +3,7 @@ // license that can be found in the LICENSE file. /* -Package zip provides support for reading and writing ZIP archives. +Package zip provides support for reading and writing password protected ZIP archives. See: http://www.pkware.com/documents/casestudies/APPNOTE.TXT