api/annotation.go
func (a *API) DeleteAnnotation(cfg *Annotation) (bool, error) {
	if cfg == nil {
		return false, fmt.Errorf("Invalid annotation config [nil]")
	}

	return a.DeleteAnnotationByCID(CIDType(&cfg.CID))
}
func (a *API) DeleteAnnotation(cfg *Annotation) (bool, error) {
	if cfg == nil {
		return false, fmt.Errorf("Invalid annotation config [nil]")
	}

	return a.DeleteAnnotationByCID(CIDType(&cfg.CID))
}
func ( a * API ) DeleteAnnotation ( cfg * Annotation ) ( bool , error ) { if cfg == nil { return false , fmt . Errorf ( " " ) } return a . DeleteAnnotationByCID ( CIDType ( & cfg . CID ) ) }
// DeleteAnnotation deletes passed annotation.
DeleteAnnotation deletes passed annotation .