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

Error Decoding struct

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • 1.0.0-rc1
    • JSON & ExtJSON
    • None
    • go version go1.11.4 darwin/amd64
      mongodb v3.4.4

    Description

      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)}

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: