aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sqlite.go18
1 files changed, 18 insertions, 0 deletions
diff --git a/sqlite.go b/sqlite.go
index 5f39070..e6fd02c 100644
--- a/sqlite.go
+++ b/sqlite.go
@@ -9,6 +9,24 @@
// Package sqlite is an in-process implementation of a self-contained,
// serverless, zero-configuration, transactional SQL database engine. (Work In Progress)
//
+// Connecting to a database
+//
+// To access a Sqlite database do something like
+//
+// import (
+// "database/sql"
+//
+// _ "github.com/cznic/sqlite"
+// )
+//
+// ...
+//
+//
+// db, err := sql.Open("sqlite", dsnURI)
+//
+// ...
+//
+//
// Do not use in production
//
// This is an experimental, pre-alpha, technology preview package. Performance