Socket
Book a DemoInstallSign in
Socket

modernc.org/sqlite2go

Package Overview
Dependencies
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

modernc.org/sqlite2go

Go Modules
Version
v1.0.0
Version published
Created
Source

sqlite2go

Command sqlite2go ports SQLite to Go (Work In Progress)

Installation

To install or update sqlite2go

$ go get [-u] modernc.org/sqlite2go

Online documentation

GoDoc: godoc.org/modernc.org/sqlite2go

Usage

To generate a Go SQLite package:

$ sqlite2go [options]

To generate a standalone Go SQLite shell:

$ sqlite2go -shell [options]

Options

-D<name>
-D<name>=<value>

Define preprocessor macros. The first form is equivalent of -D<name>=1.

-h

Print usage to standard error and exit with status 2.

-o <path>

Write the result to <path>. Defaults to standard output.

-package <name>

Name the generated package. Ignored when -shell is used.

-shell

Generate the standalone SQLite shell program in package main.

FAQs

Package last updated on 06 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts