Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model Struct : Investigate the best way to handle nullable #1

Open
kefniark opened this issue Aug 17, 2024 · 0 comments
Open

Model Struct : Investigate the best way to handle nullable #1

kefniark opened this issue Aug 17, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@kefniark
Copy link
Owner

For the moment, using pointer *time.Time

But not really satisfied of it, see what would be the best strategy here:

  • Keep pointer
  • use sql.NullString
  • use a 3rd party library
  • implement generic custom serializable types
@kefniark kefniark self-assigned this Aug 17, 2024
@kefniark kefniark converted this from a draft issue Aug 17, 2024
@kefniark kefniark added the enhancement New feature or request label Aug 17, 2024
@kefniark kefniark changed the title Investigate the best way to handle nullable Model Struct : Investigate the best way to handle nullable Aug 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

No branches or pull requests

1 participant