{"modulePath":"github.com/2lambda123/hyperledger-fabric","version":"v1.1.1","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\n## Types\n\n```go\ntype SimpleChaincode struct {\n}\n```\nSimpleChaincode example simple Chaincode implementation\n\n```go\nfunc (t *SimpleChaincode) Init(stub shim.ChaincodeStubInterface) pb.Response\n```\nInit takes two arguments, a string and int. These are stored in the key/value pair in the state\n\n```go\nfunc (t *SimpleChaincode) Invoke(stub shim.ChaincodeStubInterface) pb.Response\n```\nInvoke is called by fabric to execute a transaction\n\n","path":"github.com/2lambda123/hyperledger-fabric/examples/chaincode/go/chaincode_example04","name":"main","synopsis":"","isRedistributable":true}
