diff options
author | Kevin Lyda <kevin@ie.suberic.net> | 2017-01-13 20:12:53 +0000 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2017-01-13 20:12:53 +0000 |
commit | adca4cec3bf97d73e082d4c986443ffc8fee6fe1 (patch) | |
tree | 2ff48ee7f89faf514f101688bde9b5211afdd023 /vendor | |
parent | 94ae8fd80298f207830d29dc015b503f4f1e3e90 (diff) |
Db test config (#43)
* Allow tests to specify mysql connection info.
User can set MYSQL_TEST_USER, MYSQL_TEST_PASS and MYSQL_TEST_HOST
environment variables for test environments that need that.
* Changes from testing.
Need to set both time fields as '0000-00-00' depends on a feature
deprecated in MySQL 5.7.4.
Go lint wanted snake case for my sql_config var. sqlConfig it is.
* Go go idioms.
Based on feedback from Niall, a cleaner way to do this in Go.
Diffstat (limited to 'vendor')
0 files changed, 0 insertions, 0 deletions