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

Error Decoding struct

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

      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 Unassigned
            Reporter:
            notdefine Nicola De Filippo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: