Closed shlomif closed 4 years ago
Either use a version of minify
with Go modules, or use both repositories (minify
and parse
) at their latest commit to master
. You can't use the latest commit of minify
on master
and then use an old version of parse
. I've updated the go.mod
anyways, but this is cumbersome to maintain as I have to switch it for every version and then switch it back to master for any commits after.
EDIT: I recommend sticking to a published version and not the latest commit.
EDIT2: Seems like I hadn't pushed commit to parse
yet, my fault.
Either use a version of
minify
with Go modules, or use both repositories (minify
andparse
) at their latest commit tomaster
. You can't use the latest commit ofminify
onmaster
and then use an old version ofparse
. I've updated thego.mod
anyways, but this is cumbersome to maintain as I have to switch it for every version and then switch it back to master for any commits after.EDIT: I recommend sticking to a published version and not the latest commit.
EDIT2: Seems like I hadn't pushed commit to
parse
yet, my fault.
Hi! Thanks for the reply.
How should the correct go get
command look like?
I was under the impression that go get -u github.com/tdewolff/minify/v2
would get the latest version. Anyways, I will make sure in the future that minify@master
works well with parse@master
, but be aware that master may include bugs!
I am on mageia linux v8 with
go version go1.13.2 linux/amd64
. Thanks!