Update updates specific fields of pull request.
(cols ...string)
| 612 | |
| 613 | // Update updates specific fields of pull request. |
| 614 | func (pr *PullRequest) UpdateCols(cols ...string) error { |
| 615 | _, err := x.Id(pr.ID).Cols(cols...).Update(pr) |
| 616 | return err |
| 617 | } |
| 618 | |
| 619 | // UpdatePatch generates and saves a new patch. |
| 620 | func (pr *PullRequest) UpdatePatch() (err error) { |
no test coverage detected