// GetFrameworkByID returns specific framework with given id.
GetFrameworkByID returns specific framework with given id.
// GetFrameworkByID returns specific framework with given id .
func (c *Client) GetFrameworkByID(ID string) (Framework, error) {
	frameworks, err := c.ListFrameworks()
	if err != nil {
		return Framework{}, err
	}
	for _, framework := range frameworks {
		if framework.ID == ID {
			return framework, nil
		}
	}
	return Framework{}, fmt.Errorf("framework ID %s not found", ID)
}
func ( c * Client ) GetFrameworkByID ( ID string ) ( Framework , error ) { frameworks , err := c . ListFrameworks ( ) if err != nil { return Framework { } , err } for _ , framework := range frameworks { if framework . ID == ID { return framework , nil } } return Framework { } , fmt . Errorf ( " " , ID ) }
GetFrameworkByID returns specific framework with given id.
GetFrameworkByID returns specific framework with given id .