diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-06-22 12:44:20 -0600 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-06-22 12:44:20 -0600 |
commit | 642b10439663d89cdf33bd14e751a0fd8ef1d406 (patch) | |
tree | 3f9a872b2c0cfd8f28a2678c0ff093fe1e79cb93 /db_test.go | |
parent | Merge pull request #208 from benbjohnson/open-timeout (diff) | |
download | dedo-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