github.com/insionng/yougam@v0.0.0-20170714101924-2bc18d833463/libraries/Unknwon/cae/README.md (about) 1 Compression and Archive Extensions 2 ================================== 3 4 [](http://gowalker.org/github.com/Unknwon/cae) 5 6 [中文文档](README_ZH.md) 7 8 Package cae implements PHP-like Compression and Archive Extensions. 9 10 But this package has some modifications depends on Go-style. 11 12 Reference: [PHP:Compression and Archive Extensions](http://www.php.net/manual/en/refs.compression.php). 13 14 Code Convention: based on [Go Code Convention](https://github.com/Unknwon/go-code-convention). 15 16 ### Implementations 17 18 Package `zip`([Go Walker](http://gowalker.org/github.com/Unknwon/cae/zip)) and `tz`([Go Walker](http://gowalker.org/github.com/Unknwon/cae/tz)) both enable you to transparently read or write ZIP/TAR.GZ compressed archives and the files inside them. 19 20 - Features: 21 - Add file or directory from everywhere to archive, no one-to-one limitation. 22 - Extract part of entries, not all at once. 23 - Stream data directly into `io.Writer` without any file system storage. 24 25 ### Test cases and Coverage 26 27 All subpackages use [GoConvey](http://goconvey.co/) to write test cases, and coverage is more than 80 percent. 28 29 ### Use cases 30 31 - [Gogs](https://github.com/gogits/gogs): self hosted Git service in the Go Programming Language. 32 - [GoBlog](https://github.com/fuxiaohei/GoBlog): personal blogging application. 33 - [GoBuild](https://github.com/shxsun/gobuild/): online Go cross-platform compilation and download service. 34 35 ## License 36 37 This project is under Apache v2 License. See the [LICENSE](LICENSE) file for the full license text.