diff options
author | Philip O Toole <philip.otoole@yahoo.com> | 2016-02-23 01:20:57 -0500 |
---|---|---|
committer | Philip O Toole <philip.otoole@yahoo.com> | 2016-02-23 01:26:13 -0500 |
commit | 1e280555b7a56165ad13eac5ba30f72d1243e8d6 (patch) | |
tree | cdf0b741c88ae34a2bf69e07739dadbc1a8f84a4 /sqlite3.go | |
parent | Merge pull request #267 from ianlancetaylor/go16 (diff) | |
download | golite-1e280555b7a56165ad13eac5ba30f72d1243e8d6.tar.gz golite-1e280555b7a56165ad13eac5ba30f72d1243e8d6.tar.xz |
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)) |