From a6446ac047eed61ba362f9ff1fe6fa23b8b9ab3b Mon Sep 17 00:00:00 2001 From: lhchavez Date: Tue, 9 Nov 2021 06:36:00 -0800 Subject: [PATCH] Fix replace statement example in README.md (#859) (#860) (cherry picked from commit 533c82f2707b8ad2f0f667867b3ea91ec08667aa) Co-authored-by: Ignacio Taranto --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7cc36eb..64cd74f 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,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/v32 ../../libgit2/git2go + replace github.com/libgit2/git2go/v32 => ../../libgit2/git2go Parallelism and network operations ----------------------------------