Every line of 'artifactorypublish' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Go code is secure.
30 func (t *Topic) publish(stub shim.ChaincodeStubInterface,args []string) pb.Response{ 31 fmt.Println("<< ====[Topic] publish ====== >>") 32 sequenceNumber = sequenceNumber + 1 33 fmt.Println("topicName:" + args[0] + " contents:" + args[1] + " extensions:" + args[2] + " sequenceNumber:" + strconv.Itoa(sequenceNumber)) 34 return shim.Success([]byte(strconv.Itoa(sequenceNumber))) 35 }