dashboards.go
func (client *Client) GetDashboard(id interface{}) (*Dashboard, error) {

	stringId, err := GetStringId(id)
	if err != nil {
		return nil, err
	}

	var out reqGetDashboard
	if err := client.doJsonRequest("GET", fmt.Sprintf("/v1/dash/%s", stringId), nil, &out); err != nil {
		return nil, err
	}
	return out.Dashboard, nil
}
func (client *Client) GetDashboard(id interface{}) (*Dashboard, error) {

	stringId, err := GetStringId(id)
	if err != nil {
		return nil, err
	}

	var out reqGetDashboard
	if err := client.doJsonRequest("GET", fmt.Sprintf("/v1/dash/%s", stringId), nil, &out); err != nil {
		return nil, err
	}
	return out.Dashboard, nil
}
func ( client * Client ) GetDashboard ( id interface { } ) ( * Dashboard , error ) { stringId , err := GetStringId ( id ) if err != nil { return nil , err } var out reqGetDashboard if err := client . doJsonRequest ( " " , fmt . Sprintf ( " " , stringId ) , nil , & out ) ; err != nil { return nil , err } return out . Dashboard , nil }
// GetDashboard returns a single dashboard created on this account.
GetDashboard returns a single dashboard created on this account .