Discover Packages
github.com/cznic/sqlite2go
command
module
Version:
v0.0.0-...-c6b594e
Opens a new window with list of versions in this module.
Published: Nov 22, 2018
License: BSD-3-Clause
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
github.com/cznic/sqlite2go has moved to modernc.org/sqlite2go (vcs ).
Please update your import paths to modernc.org/sqlite2go.
This repo is now archived.
Expand ▾
Collapse ▴
Documentation
¶
Command sqlite2go ports SQLite to Go. (Work In Progress)
Installation ¶ To install or update sqlite2go
$ go get [-u] github.com/cznic/sqlite2go
Online documentation ¶ GoDoc: https://godoc.org/github.com/cznic/sqlite2go
Usage ¶ To generate a Go SQLite package:
$ sqlite2go [options]
To generate a standalone Go SQLite shell:
$ sqlite2go -shell [options]
Options
-crt <import-path>
Set the C-runtime package import path. Defaults to "github.com/cznic/crt".
-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.
Source Files
¶
Directories
¶
internal
c99
Package c99 is a C99 compiler front end.
Package c99 is a C99 compiler front end.
ccgo
Package ccgo translates c99 ASTs to Go source code.
Package ccgo translates c99 ASTs to Go source code.
Click to show internal directories.
Click to hide internal directories.