Skip to content

Commit

Permalink
Replace mysql.NullTime with sql.NullTime
Browse files Browse the repository at this point in the history
  • Loading branch information
johejo committed Apr 16, 2021
1 parent 9a3ddc1 commit e331c9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions loaders/mysql.go
Expand Up @@ -189,8 +189,8 @@ switchDT:
nilVal = "time.Time{}"
typ = "time.Time"
if nullable {
nilVal = "mysql.NullTime{}"
typ = "mysql.NullTime"
nilVal = "sql.NullTime{}"
typ = "sql.NullTime"
}

case "time":
Expand Down

0 comments on commit e331c9e

Please sign in to comment.