func (a *API) FetchCheckBundles() (*[]CheckBundle, error) {
	result, err := a.Get(config.CheckBundlePrefix)
	if err != nil {
		return nil, err
	}

	var checkBundles []CheckBundle
	if err := json.Unmarshal(result, &checkBundles); err != nil {
		return nil, err
	}

	return &checkBundles, nil
}
func (a *API) FetchCheckBundles() (*[]CheckBundle, error) {
	result, err := a.Get(config.CheckBundlePrefix)
	if err != nil {
		return nil, err
	}

	var checkBundles []CheckBundle
	if err := json.Unmarshal(result, &checkBundles); err != nil {
		return nil, err
	}

	return &checkBundles, nil
}
func ( a * API ) FetchCheckBundles ( ) ( * [ ] CheckBundle , error ) { result , err := a . Get ( config . CheckBundlePrefix ) if err != nil { return nil , err } var checkBundles [ ] CheckBundle if err := json . Unmarshal ( result , & checkBundles ) ; err != nil { return nil , err } return & checkBundles , nil }
// FetchCheckBundles retrieves all check bundles available to the API Token.
FetchCheckBundles retrieves all check bundles available to the API Token .