To get the package, execute:
go get gopkg.in/libgit2/git2go.v23/static-build/install/lib/pkgconfig/libgit2.pc
To import this package, add the following line to your code:
import "gopkg.in/libgit2/git2go.v23/static-build/install/lib/pkgconfig/libgit2.pc"
For more details, see the API documentation.