You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In my structure I have a field like this:
It turns out that from what I could see, GORM uses the
time
type of Go itself and not thetime
type of the database, which was my intention.This generates the following sql using the
Debug()
function:And not:
Want was what I expected.
How to make it work?
Even reading the documentation and other forums, everything I've tried has been useless.
Beta Was this translation helpful? Give feedback.
All reactions