In have downloaded go-ethereum package and made the private network. I am able to make changes in the code as per my requirement and it is also working fine. However, ethereum_js.go file has the following lines
var getTransaction = new Method({
name: 'getTransaction',
call: 'eth_getTransactionByHash',
params: 1,
outputFormatter: formatters.outputTransactionFormatter
});
Above says whenever we use getTransaction, it call eth_getTransactionByHash.
But there is no function avaialable with name getTransactionByHash.
Also the following line is not clear
outputFormatter: formatters.outputTransactionFormatter
getTransactionByHash()
function in the code.