Uploaded image for project: 'Fabric'
  1. Fabric
  2. FAB-17102

Packaging Go chaincode errors if trying to package outside GOPATH

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Medium
    • Resolution: Invalid
    • None
    • None
    • fabric-sdk-node
    • None

    Description

      The packager for Go chaincode assumes that I am using the old style of Go where I write all my code within my GOPATH (not that it should anyway since it doesn't try to build on the local machine just takes the files). Newer Go projects are written using Go Modules meaning it is no longer necessary for the Go to be written within a Go path to be valid. It should therefore be able to handle this new style and allow me to package my Go project outside my GOPATH.

      Attachments

        Activity

          People

            Unassigned Unassigned
            awjh-ibm Andrew Hurt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: