// Copyright 2016 The Gogs Authors. All rights reserved.// Use of this source code is governed by a MIT-style// license that can be found in the LICENSE file.packagegogsimport("time")// PullRequest represents a pull reqesut API object.typePullRequeststruct{// Copied from issue.goIDint64`json:"id"`Indexint64`json:"number"`Poster*User`json:"user"`Titlestring`json:"title"`Bodystring`json:"body"`Labels[]*Label`json:"labels"`Milestone*Milestone`json:"milestone"`Assignee*User`json:"assignee"`StateStateType`json:"state"`Commentsint`json:"comments"`HeadBranchstring`json:"head_branch"`HeadRepo*Repository`json:"head_repo"`BaseBranchstring`json:"base_branch"`BaseRepo*Repository`json:"base_repo"`HTMLURLstring`json:"html_url"`Mergeable*bool`json:"mergeable"`HasMergedbool`json:"merged"`Merged*time.Time`json:"merged_at"`MergedCommitID*string`json:"merge_commit_sha"`MergedBy*User`json:"merged_by"`}