This question already has an answer here:
func (t *SimpleAsset) Init(stub shim.ChaincodeStubInterface) peer.Response
I have been trying to understand hyperledger
in which we use Go
language for Chaincode
. But here I am unable to understand what the (t* SimpleAsset)
is.
I do understand that unit is the name of the function, stub part is the argument and peer.Response
is the return type. As I am new to Go
please help me thank you.
</div>