Add mongo.NullTime type

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • Environment:
      language: Go
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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?

            Assignee:
            Kristofer Brandow (Inactive)
            Reporter:
            Masoud Ghorbani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: