On Fri, 2025-01-24 at 18:29 -0800, Meng Zhuo wrote:
> The spdx has it's own version for SPDX spec (i.e. v3_0_1)
> https://spdx.github.io/spdx-spec/v2.3/
> 
> but go module's version might conflict this.
> If an user import spdx v2.3(with go mod version 1.0.0), he will end
> up importĀ  `github.com/spdx/spdx-go-model/v2_3_0@v1.0.0 `
> 
> That's very confusing to me.

As noted above, the version does not have a v prefix, it has the prefix
"spdx_v". This is also noted in this comment
https://github.com/spdx/spdx-go-model/pull/1#discussion_r1913449817.

So the import would be github.com/spdx/spdx-go-model/spdx_v2_3_0@v1.0.0

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/golang-nuts/ef2eba708a515a5697d1181ca30be50c7dc987b0.camel%40kortschak.io.

Reply via email to