Error Decoding struct

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.0.0-rc1
    • Component/s: JSON & ExtJSON
    • None
    • Environment:
      go version go1.11.4 darwin/amd64
      mongodb v3.4.4
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      After last update, now i have an error decoding a struct

      for cur.Next(ctx) { resultFromMongo := Product{} if err = cur.Decode(&resultFromMongo); err != nil

      { fmt.Printf("[Debug] decode error") }

      result.Products = append(result.Products, resultFromMongo)}

              Assignee:
              Unassigned
              Reporter:
              Nicola De Filippo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: