From f8673776ab781c033b57ac2147fc4a9e6837ccd2 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Sun, 21 May 2017 18:21:38 -0500 Subject: [PATCH] database: Update overview documentation in doc.go. This updates the overview documentation to remove reference of the outside Namespace bits. --- database/doc.go | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/database/doc.go b/database/doc.go index 5895abe2..49720671 100644 --- a/database/doc.go +++ b/database/doc.go @@ -34,13 +34,10 @@ obtained via the Create and Open functions which take a database type string that identifies the specific database driver (backend) to use as well as arguments specific to the specified driver. -Namespaces - -The Namespace interface is an abstraction that provides facilities for obtaining -transactions (the Tx interface) that are the basis of all database reads and -writes. Unlike some database interfaces that support reading and writing -without transactions, this interface requires transactions even when only -reading or writing a single key. +The interface provides facilities for obtaining transactions (the Tx interface) +that are the basis of all database reads and writes. Unlike some database +interfaces that support reading and writing without transactions, this interface +requires transactions even when only reading or writing a single key. The Begin function provides an unmanaged transaction while the View and Update functions provide a managed transaction. These are described in more detail