embed

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2024 License: MIT Imports: 2 Imported by: 0

README

Embeddable Wasm build of SQLite

This folder includes an embeddable Wasm build of SQLite 3.46.1 for use with github.com/ncruces/go-sqlite3.

The following optional features are compiled in:

See the configuration options, and patches applied.

Built using wasi-sdk, and binaryen.

The build is easily reproducible, and verifiable, using Artifact Attestations.

Customizing the build

You can use your own custom build of SQLite.

Examples of custom builds of SQLite are:

Documentation

Overview

Package embed embeds SQLite into your application.

Importing package embed initializes the sqlite3.Binary variable with an appropriate build of SQLite:

import _ "github.com/ncruces/go-sqlite3/embed"

Directories

Path Synopsis
Package bcw2 embeds SQLite into your application.
Package bcw2 embeds SQLite into your application.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL