(v interface{})
| 729 | } |
| 730 | |
| 731 | func isBlank(v interface{}) bool { |
| 732 | switch vv := v.(type) { |
| 733 | case string: |
| 734 | return vv == "" |
| 735 | case []string: |
| 736 | return len(vv) == 0 |
| 737 | default: |
| 738 | return true |
| 739 | } |
| 740 | } |
| 741 | |
| 742 | func PullRequestClose(httpClient *http.Client, repo ghrepo.Interface, prID string) error { |
| 743 | var mutation struct { |