Add support for Go 1.11 modules #477
Loading…
Reference in New Issue
No description provided.
Delete Branch "patch-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This change adds a
go.mod
file. An empty file is sufficient since thisproject has no external dependencies. For people that want to use the static
version of libgit2, this module can be vendored and the following can be added
to their
go.mod
file:Can you not use a project with go modules if the dependencies themselves aren't set up for it?
you can, if you want to use the dynamically-linked version. what you can't do is use the vendoring trick to be able to build the static library, since using a vendored module requires the module to be explicitly a module.
Fair enough I guess.