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, January 23, 2025 at 7:54:00 PM UTC-8 Dan Kortschak wrote:

> On Thu, 2025-01-23 at 19:17 -0800, Meng Zhuo wrote:
> > Hi, 
> > 
> > What should we do if module named with version?
> > ```
> > import (
> >     "testing"
> > 
> >     Spdx3_0_1 "github.com/spdx/spdx-go-model/v3_0_1"
> > ```
> > 
> > https://github.com/spdx/spdx-go-model/pull/1
>
> From the code that's in that change, the import path is
> github.com/spdx/spdx-go-model/spdx_v3_0_1, not github.com/spdx/spdx-go-
> model/v3_0_1.
>
>

-- 
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/a5732850-d7c3-46bd-b847-2a3761340807n%40googlegroups.com.

Reply via email to