aboutsummaryrefslogtreecommitdiff
path: root/db_test.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-06-22 12:44:20 -0600
committerBen Johnson <benbjohnson@yahoo.com>2014-06-22 12:44:20 -0600
commit642b10439663d89cdf33bd14e751a0fd8ef1d406 (patch)
tree3f9a872b2c0cfd8f28a2678c0ff093fe1e79cb93 /db_test.go
parentMerge pull request #208 from benbjohnson/open-timeout (diff)
downloaddedo-642b10439663d89cdf33bd14e751a0fd8ef1d406.tar.gz
dedo-642b10439663d89cdf33bd14e751a0fd8ef1d406.tar.xz
Add DefaultOptions variable.
This commit adds an explicit DefaultOptions variable for additional documentation. Open() can still be passed a nil options which will cause options to be change to the DefaultOptions variable. This change also allows options to be set globally for an application if more than one database is being opened in a process. This commit also moves all errors to errors.go so that the godoc groups them together.
Diffstat (limited to 'db_test.go')
0 files changed, 0 insertions, 0 deletions