code: func (r *Repository) DeleteTag(name string) error {
  	_, err := r.Tag(name)
  	if err != nil {
  		return err
  	}
  
  	return r.Storer.RemoveReference(plumbing.ReferenceName(path.Join("refs", "tags", name)))
  }
docs: // DeleteTag deletes a tag from the repository.