8000 GitHub - gonuts/sqlite3: pure-Go sqlite3 file reader
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

gonuts/sqlite3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
< 8619 div class="overflow-hidden">
 
 
 
 
 
 

Repository files navigation

sqlite3

sqlite3 is a pure Go package decoding the SQLite file format as described by: http://www.sqlite.org/fileformat.html

Installation

$ go get github.com/sbinet/sqlite3

Example

package main

import (
	"fmt"

	"github.com/sbinet/sqlite3"
)

func main() {
	db, err := sqlite3.Open("test.sqlite")
	if err != nil {
		panic(err)
	}
	defer db.Close()

	for _, table := range db.Tables() {
		fmt.Printf(">>> table=%#v\n", table)
	}
}

Documentation

Documentation is available on godoc

About

pure-Go sqlite3 file reader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0