Accounts

    1. package main
    2. import (
    3. "github.com/ethereum/go-ethereum/common"
    4. )
    5. address := common.HexToAddress("0x71c7656ec7ab88b098defb751b7401b5f6d8976f")
    6. fmt.Println(address.Hex()) // 0x71C7656EC7ab88b098defB751B7401B5f6d8976F
    7. fmt.Println(address.Hash().Hex()) // 0x00000000000000000000000071c7656ec7ab88b098defb751b7401b5f6d8976f
    8. }