// ListFrameworks returns list of current running frameworks.
ListFrameworks returns list of current running frameworks.
// ListFrameworks returns list of current running frameworks .
func (c *Client) ListFrameworks() ([]Framework, error) {
	body, err := c.doRequest(c.frameworksEndpoint())
	if err != nil {
		return []Framework{}, err
	}
	var frameworks FrameworksWrap
	err = json.Unmarshal(body, &frameworks)
	if err != nil {
		return []Framework{}, err
	}
	return frameworks.List, nil
}
func ( c * Client ) ListFrameworks ( ) ( [ ] Framework , error ) { body , err := c . doRequest ( c . frameworksEndpoint ( ) ) if err != nil { return [ ] Framework { } , err } var frameworks FrameworksWrap err = json . Unmarshal ( body , & frameworks ) if err != nil { return [ ] Framework { } , err } return frameworks . List , nil }
ListFrameworks returns list of current running frameworks.
ListFrameworks returns list of current running frameworks .