I am a newbee in ethereum and I get a little confused after reading some tutorails. My question is How Can I use golang to develop on Ethereum?
And I found goAPI demo like:
client, err := ethclient.Dial("http://192.168.1.14:8545")
err = client.SendTransaction(context.Background(), tx)
and go-jsonRPC demo like:
client, err := rpc.Dial("http://192.168.1.14:8545")
err = client.Call(&result, "eth_getBalance", account[0], "latest")
What's the different between them? Which one should I use? I found web3js is convenient but can I use that with Golang because I don't use javascript?
I'm a new blockchain programmer please gime me some guide.