github.com/goplus/llgo@v0.8.3/c/sqlite/README.md (about)

     1  LLGo wrapper of sqlite
     2  =====
     3  [![Build Status](https://github.com/goplus/sqlite/actions/workflows/go.yml/badge.svg)](https://github.com/goplus/sqlite/actions/workflows/go.yml)
     4  [![GitHub release](https://img.shields.io/github/v/tag/goplus/sqlite.svg?label=release)](https://github.com/goplus/sqlite/releases)
     5  [![GoDoc](https://pkg.go.dev/badge/github.com/goplus/sqlite.svg)](https://pkg.go.dev/github.com/goplus/sqlite)
     6  [![Compiler](https://img.shields.io/badge/compiler-llgo-darkgreen.svg)](https://github.com/goplus/llgo)
     7  [![Language](https://img.shields.io/badge/language-Go+-blue.svg)](https://github.com/goplus/gop)
     8  
     9  ## How to install
    10  
    11  ```sh
    12  git clone https://github.com/goplus/sqlite.git
    13  cd sqlite
    14  git submodule init
    15  git submodule update
    16  mkdir build.dir
    17  cd build.dir
    18  ../sqlite/configure --enable-shared
    19  sudo make install
    20  ```
    21  
    22  ## Demos
    23  
    24  The `_demo` directory contains our demos (it start with `_` to prevent the `go` command from compiling it):
    25  
    26  * [sqlitedemo](_demo/sqlitedemo/demo.go): a basic sqlite demo
    27  
    28  ### How to run demos
    29  
    30  To run the demos in directory `_demo`:
    31  
    32  ```sh
    33  cd <demo-directory>  # eg. cd _demo/sqlitedemo
    34  llgo run .
    35  ```