Re: [go-nuts] Looking for Go module path (contains version) suggestion for github.com/spdx/spdx-go-model

2025-01-24 Thread 'Dan Kortschak' via golang-nuts
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/s

Re: [go-nuts] Looking for Go module path (contains version) suggestion for github.com/spdx/spdx-go-model

2025-01-24 Thread Meng Zhuo
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/v

Re: [go-nuts] Looking for Go module path (contains version) suggestion for github.com/spdx/spdx-go-model

2025-01-24 Thread will....@gmail.com
Meng, It's unclear to me what you're asking. Are you asking whether the path should be changed to be more idiomatic? I would have expected it to be github.com/spdx/spdx-go-model if the major version is 0 or 1; and github.com/spdx/spdx-go-model/v3 if the major version is 3. Will On Thursday, J