func (c *Client) GetCurrentUser() (*User, error) {
	resp, err := c.Get("/current_user", nil)
	if err != nil {
		return nil, err
	}

	var u *User
	if err := decodeBodyMap(resp.Body, &u); err != nil {
		return nil, err
	}

	return u, nil
}
// GetCurrentUser retrieves the user information for the authenticated user.
GetCurrentUser retrieves the user information for the authenticated user.
// GetCurrentUser retrieves the user information for the authenticated user .
func (c *Client) GetCurrentUser() (*User, error) {
	resp, err := c.Get("/current_user", nil)
	if err != nil {
		return nil, err
	}
	var u *User
	if err := decodeBodyMap(resp.Body, &u); err != nil {
		return nil, err
	}
	return u, nil
}
func ( c * Client ) GetCurrentUser ( ) ( * User , error ) { resp , err := c . Get ( " " , nil ) if err != nil { return nil , err } var u * User if err := decodeBodyMap ( resp . Body , & u ) ; err != nil { return nil , err } return u , nil }
GetCurrentUser retrieves the user information for the authenticated user.
GetCurrentUser retrieves the user information for the authenticated user .