Files
llgo/c/sqlite/README.md

32 lines
493 B
Markdown
Raw Normal View History

2024-05-15 21:27:42 +08:00
LLGo wrapper of sqlite
=====
## How to install
2024-06-15 17:35:55 +08:00
### on macOS (Homebrew)
2024-06-15 17:35:55 +08:00
```sh
brew install sqlite3
```
### on Linux (Debian/Ubuntu)
2024-06-15 17:35:55 +08:00
```sh
apt-get install -y libsqlite3-dev
```
2024-05-15 21:27:42 +08:00
## Demos
The `_demo` directory contains our demos (it start with `_` to prevent the `go` command from compiling it):
* [sqlitedemo](_demo/sqlitedemo/demo.go): a basic sqlite demo
### How to run demos
To run the demos in directory `_demo`:
```sh
cd <demo-directory> # eg. cd _demo/sqlitedemo
llgo run .
```