I can run the chaincode from the following official path. but cannot run chainncode from my own github path
the error info is:
Error: Error building chaincode: rpc error: code = 2 desc = Error getting
chaincode package bytes: Error getting code 'go get' failed with error: "exit status 2"
# <path>
/go/_usercode_/519629987/src/<path>/chaincode_example01.go:31: cannot use new(SimpleChaincode) (type *SimpleChaincode) as type shim.Chaincode in argument to shim.Start:
*SimpleChaincode does not implement shim.Chaincode (wrong type for Init method)
have Init(*shim.ChaincodeStub, string, []string) ([]byte, error)
want Init(shim.ChaincodeStubInterface, string, []string) ([]byte, error)
How to solve this?