unmarshal private fields

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: 0.0.18
    • Component/s: BSON
    • None
    • Environment:
      go - 1.11.2
      mongo-go-driver - v0.0.18
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      OK:

      ok.go

       

      $ go run ok.go
      
      rs=rs0;
      0 ~ 0/transcoder-trans-01:27017;
      1 ~ 1/transcoder-trans-02:27017;
      2 ~ 2/transcoder-trans-03:27017;

      FAIL:

      fail.go

       

      $ go run fail.go
      rs=rs0;
      0 ~ 0/;
      1 ~ 0/;
      2 ~ 0/;
      

       

       

       

        1. fail.go
          1 kB
        2. ok.go
          1 kB

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

              Created:
              Updated:
              Resolved: