diff options
author | mattn <mattn.jp@gmail.com> | 2016-02-23 16:32:46 +0900 |
---|---|---|
committer | mattn <mattn.jp@gmail.com> | 2016-02-23 16:32:46 +0900 |
commit | 09d5c451710ef887470709463f4f04ff83e1e039 (patch) | |
tree | cdf0b741c88ae34a2bf69e07739dadbc1a8f84a4 /sqlite3.go | |
parent | Merge pull request #267 from ianlancetaylor/go16 (diff) | |
parent | Fix minor typos in comments (diff) | |
download | golite-09d5c451710ef887470709463f4f04ff83e1e039.tar.gz golite-09d5c451710ef887470709463f4f04ff83e1e039.tar.xz |
Merge pull request #275 from otoolep/fix_typos
Fix minor typos in comments
Diffstat (limited to 'sqlite3.go')
-rw-r--r-- | sqlite3.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -130,7 +130,7 @@ func init() { sql.Register("sqlite3", &SQLiteDriver{}) } -// Return SQLite library Version information. +// Version returns SQLite library version information. func Version() (libVersion string, libVersionNumber int, sourceId string) { libVersion = C.GoString(C.sqlite3_libversion()) libVersionNumber = int(C.sqlite3_libversion_number()) @@ -598,7 +598,7 @@ func errorString(err Error) string { } // Open database and return a new connection. -// You can specify DSN string with URI filename. +// You can specify a DSN string using a URI as the filename. // test.db // file:test.db?cache=shared&mode=memory // :memory: @@ -715,7 +715,7 @@ func (c *SQLiteConn) Close() error { return nil } -// Prepare query string. Return a new statement. +// Prepare the query string. Return a new statement. func (c *SQLiteConn) Prepare(query string) (driver.Stmt, error) { pquery := C.CString(query) defer C.free(unsafe.Pointer(pquery)) |