Re: [go-nuts] Go modules in gihub repos

2020-11-19 Thread 'Dan Kortschak' via golang-nuts
Reference: https://golang.org/ref/mod#vcs-version > If a module is defined in a subdirectory within the repository, that > is, the module subdirectory portion of the module path is not empty, > then each tag name must be prefixed with the module subdirectory, > followed by a slash. For example, th

Re: [go-nuts] Go modules in gihub repos

2020-11-19 Thread Victor Denisov
Interesting. Thanks, I'll give it a try. On Thu, Nov 19, 2020 at 7:08 PM 'Dan Kortschak' via golang-nuts < golang-nuts@googlegroups.com> wrote: > You should tag the version with the path to the module root: for > example path/from/root/v1.2.3 > > On Thu, 2020-11-19 at 18:58 -0800, Victor Denisov

Re: [go-nuts] Go modules in gihub repos

2020-11-19 Thread 'Dan Kortschak' via golang-nuts
You should tag the version with the path to the module root: for example path/from/root/v1.2.3 On Thu, 2020-11-19 at 18:58 -0800, Victor Denisov wrote: > Hi, > > I've recently encountered an interesting behavior of go modules. > I have a library in a repository on github. The go.mod file for this