alexyslozada / shorturl

Inspired in bit.ly
MIT License
3 stars 2 forks source link

Problema al escanear updated at #6

Closed CarosDrean closed 2 years ago

CarosDrean commented 2 years ago

https://github.com/alexyslozada/shorturl/blob/a003bd1772ede6a9eede1564795a19d8a50637fa/storage/postgres/history.go#L94

Debe escanear con null, ya que el campo maneja nulos; lo mismo en todos los modelos

alexyslozada commented 2 years ago

usaremos sql.Null types para esto