I need to import a module with LFS objects into my go project. I already added the module to go.mod
, but when the go tools download the dependencies into my ~/go/pkg/...
folder, the LFS objects are not downloaded. Instead of the full object, I get the LFS metadata. This causes my build to fail.
I already went through the go get
and go mod
docs but couldn't find anything on this topic. The only workaround I've found to far is to manually download the files post go mod download
, but I'm looking for a more official solution.
go get
command? DId You use LFS module in Your code? When I add dependencies to my code i make onlygo get
and than I can use this module in code. – Janeenjanek