lo
lo copied to clipboard
go-funk included when vendoring due to usage in benchmark
Hi,
Moving from go-funk
to lo
, just noticed go-funk
is still included in my dependency graph, probably due to it being a dependency for the benchmark suite in lo
.
Not sure, but is there any way to remove it from the 'release' lib?
~~Have you tried go mod tidy
?~~
Many libraries are added: testify (+ dependencies), go-funk (+ dependencies)...
I agree with you, we should distribute a clean release of this library.
I think the best way to achieve it, is to move test files into a dedicated module.
Hey guys. Just checked on this and I don't see any test dependecies in vendored packages (probably due to module graph pruning introduced in 1.17 https://go.dev/ref/mod#graph-pruning)
![image](https://user-images.githubusercontent.com/7695130/202811517-884dadc4-099f-4488-8258-14d326f73702.png)
Did you check go.sum ?
Yeah, my bad. go.sum contains all deps: