diff options
| author | Ignacio Taranto <[email protected]> | 2021-11-08 11:02:36 -0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-11-08 06:02:36 -0800 |
| commit | 533c82f2707b8ad2f0f667867b3ea91ec08667aa (patch) | |
| tree | a6b9a7e370433607f9c0950deae18f548cb1f490 | |
| parent | 6cea7a7a59f44e0e72ca577fbea65a042b3fb26b (diff) | |
Fix replace statement example in README.md (#859)
| -rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -79,7 +79,7 @@ In order to let Go pass the correct flags to `pkg-config`, `-tags static` needs One thing to take into account is that since Go expects the `pkg-config` file to be within the same directory where `make install-static` was called, so the `go.mod` file may need to have a [`replace` directive](https://github.com/golang/go/wiki/Modules#when-should-i-use-the-replace-directive) so that the correct setup is achieved. So if `git2go` is checked out at `$GOPATH/src/github.com/libgit2/git2go` and your project at `$GOPATH/src/github.com/my/project`, the `go.mod` file of `github.com/my/project` might need to have a line like - replace github.com/libgit2/git2go/v33 ../../libgit2/git2go + replace github.com/libgit2/git2go/v33 => ../../libgit2/git2go Parallelism and network operations ---------------------------------- |
