From 1aefda90a9ebe7f11b5009cd408469d13f21705d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Nieto?= <xiam@menteslibres.org> Date: Mon, 23 Jul 2012 19:17:59 -0500 Subject: [PATCH] Fixing docs --- db/mongo/README.md | 4 ++-- db/mysql/README.md | 4 ++-- db/postgresql/README.md | 4 ++-- db/sqlite/README.md | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/db/mongo/README.md b/db/mongo/README.md index 1d2f89f7..af1b9203 100644 --- a/db/mongo/README.md +++ b/db/mongo/README.md @@ -1,6 +1,6 @@ # gosexy/db/mongo - This driver is a wrapper of [mgo](http://labix.org/mgo) +This driver is a wrapper of [mgo](http://labix.org/mgo) ## Requirements @@ -29,7 +29,7 @@ And on Debian based distros "github.com/xiam/gosexy/db/mongo" ) -## Connecting to a database +## Connecting to a MongoDB database sess := mongo.Session(db.DataSource{Host: "127.0.0.1"}) diff --git a/db/mysql/README.md b/db/mysql/README.md index 8118abf6..8eab3826 100644 --- a/db/mysql/README.md +++ b/db/mysql/README.md @@ -1,6 +1,6 @@ # gosexy/db/mysql - This driver is a wrapper of [go-mysql-driver](http://code.google.com/p/go-mysql-driver/) +This driver is a wrapper of [go-mysql-driver](http://code.google.com/p/go-mysql-driver/) ## Requirements @@ -29,7 +29,7 @@ And on Debian based distros "github.com/xiam/gosexy/db/mysql" ) -## Connecting to a database +## Connecting to a MySQL database sess := mysql.Session(db.DataSource{Host: "127.0.0.1"}) diff --git a/db/postgresql/README.md b/db/postgresql/README.md index c9e608c6..af821e84 100644 --- a/db/postgresql/README.md +++ b/db/postgresql/README.md @@ -1,6 +1,6 @@ # gosexy/db/postgresql - This driver is a wrapper of [pq](https://github.com/bmizerany/pq). In order to work with ``gosexy/db`` the original driver had to be [forked](https://github.com/xiam/gopostgresql) as the changes made to it are incompatible with some of pq's own features. +This driver is a wrapper of [pq](https://github.com/bmizerany/pq). In order to work with ``gosexy/db`` the original driver had to be [forked](https://github.com/xiam/gopostgresql) as the changes made to it are incompatible with some of pq's own features. ## Installation @@ -13,7 +13,7 @@ "github.com/xiam/gosexy/db/postgresql" ) -## Connecting to a database +## Connecting to a PostgreSQL database sess := postgresql.Session(db.DataSource{Host: "127.0.0.1"}) diff --git a/db/sqlite/README.md b/db/sqlite/README.md index aecc3d88..57a8c19a 100644 --- a/db/sqlite/README.md +++ b/db/sqlite/README.md @@ -1,6 +1,6 @@ # gosexy/db/sqlite - This driver is a wrapper of [sqlite3](https://github.com/mattn/go-sqlite3). In order to work with ``gosexy/db`` the original driver had to be [forked](https://github.com/xiam/gosqlite3) as the changes made to it are incompatible with some of sqlite3's own features. +This driver is a wrapper of [sqlite3](https://github.com/mattn/go-sqlite3). In order to work with ``gosexy/db`` the original driver had to be [forked](https://github.com/xiam/gosqlite3) as the changes made to it are incompatible with some of sqlite3's own features. ## Requirements @@ -32,9 +32,9 @@ And on Debian based distros "github.com/xiam/gosexy/db/sqlite" ) -## Connecting to a database +## Connecting to a SQLite3 database - sess := sqlite.Session(db.DataSource{Host: "127.0.0.1"}) + sess := sqlite.Session(db.DataSource{Database: "/path/to/sqlite3.db"}) err := sess.Open() defer sess.Close() -- GitLab