Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-774

Add mongo.NullTime type

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • BSON
    • None
    • language: Go

    Description

      My interface has some timestamp fields which I think it would be better to consider default value of fields as null not 0001-01-01 00:00:00.000. It can be done by adding NullTime type to package. I think its general issue and loss of this typing may raise for many people and its possible handle it by adding custom typing.

      What do you think about adding mongo.NullTime type to package?

      Attachments

        Activity

          People

            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            jesuismasoud Masoud Ghorbani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: