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

struct supports nil Marshal to int, bool, string etc

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • BSON
    • None

    Description

       

      In the bson Marshal structure, when the structure property value is nil, the default value is used.

      Attachments

        Activity

          People

            Unassigned Unassigned
            reage521@gmail.com Tiansheng Ren
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: