func getHistoryForKeyString(stub shim.ChaincodeStubInterface, queryString string) ([]byte, error) { fmt.Printf(- getQueryResultForQueryString queryString:\n%s\n, queryString) resultsIterator, err := stub.GetHistoryForKey(queryString) if err != nil { return nil, err } defer resultsIterator.C