horizon/main.go
func (c *Client) LoadAccount(accountID string) (account Account, err error) {
	c.initHTTPClient()
	resp, err := c.Client.Get(c.URL + "/accounts/" + accountID)
	if err != nil {
		return
	}

	err = decodeResponse(resp, &account)
	return
}
func (c *Client) LoadAccount(accountID string) (account Account, err error) {
	c.initHTTPClient()
	resp, err := c.Client.Get(c.URL + "/accounts/" + accountID)
	if err != nil {
		return
	}

	err = decodeResponse(resp, &account)
	return
}
// LoadAccount loads the account state from horizon. err can be either error
// object or horizon.Error object.