refractored / sandwich-delivery

Deliver e-sandwiches in discord
https://refractored.net
GNU General Public License v3.0
4 stars 0 forks source link

Daily credits system #22

Closed refractored closed 9 months ago

refractored commented 9 months ago

This PR also updates the example config to fix a problem with unsupported Scan, storing driver.Value type []uint8 into type *time.Time

Baconing commented 9 months ago

one thing that is concerning is the fact that the user must add the parseTime variable to the DSN themselves to allow time variables to work

if someone were to forget this (or not know it) in their config, it would lead to many issues

we should look into either manually adding to the DSN, adding it to the mysql config object, or switching to a system where there are multiple database config options and we make the DSN from those options

more of an issue for #19 or a new issue though