2024-07-08 23:11:25 +08:00
|
|
|
# LLGo wrapper of madler/zlib
|
2024-07-08 21:48:40 +08:00
|
|
|
|
|
|
|
|
## How to install
|
|
|
|
|
|
|
|
|
|
### on macOS (Homebrew)
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
brew install zlib
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### on Linux (Debian/Ubuntu)
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
TODO
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Demos
|
|
|
|
|
|
|
|
|
|
The `_demo` directory contains our demos (it start with `_` to prevent the `go` command from compiling it):
|
|
|
|
|
|
2024-07-08 23:11:25 +08:00
|
|
|
- [normal](_demo/normal/compress.go): a basic zlib demo
|
2024-07-08 21:48:40 +08:00
|
|
|
|
|
|
|
|
### How to run demos
|
|
|
|
|
|
|
|
|
|
To run the demos in directory `_demo`:
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
cd <demo-directory> # eg. cd _demo/normal
|
|
|
|
|
llgo run .
|
|
|
|
|
```
|