-1

I'm able to clone fetch push to a repo. Similarly Is it possible to create pull request or merge PR using Go?

"gopkg.in/src-d/go-git.v4"
Jonathan Hall
  • 75,165
  • 16
  • 143
  • 189
mnvbrtn
  • 558
  • 1
  • 8
  • 27

2 Answers2

6

PR's are not part of the Git core but from the Git hosting service you are using. For example, if you use Github you would need to use a Github go library for those operations,.

pacuna
  • 1,831
  • 16
  • 15
0

used this type to create pull request

https://godoc.org/github.com/google/go-github/github#PullRequestsService.Create

mnvbrtn
  • 558
  • 1
  • 8
  • 27