Re: [go-nuts] Re: Is the go 1.11 godoc tool 'module-aware'?

2018-08-31 Thread John Shahid


Agniva De Sarker  writes:

> We will shift over the features from godoc to "go doc" before removing 
> support, so that the output remains consistent. I think there is already an 
> open issue for exactly what you have shown above. So no worries, things 
> will be the same.

Great, thanks!

>
> On Friday, 31 August 2018 02:16:54 UTC+5:30, John Shahid wrote:
>>
>>
>> Agniva De Sarker > writes: 
>>
>> > Also - note that godoc cli mode is going to go away. So "godoc -links=0 
>> > -html domain.com/group/project/v3/lib/foo" is not going to work after 
>> 1.12. 
>> > You should be using the http server. If you want command line help, use 
>> "go 
>> > doc". 
>>
>> Is there a way to get the same output as godoc ? `go doc' lists the 
>> exported symbols but not their documentation.  For example the following 
>> is what I get from `godoc' 
>>
>> func ResolveIPAddr(network, address string) (*IPAddr, error) 
>> ResolveIPAddr returns an address of IP end point. 
>>
>> The network must be an IP network name. 
>>
>> If the host in the address parameter is not a literal IP address, 
>> ResolveIPAddr resolves the address to an address of IP end point. 
>> Otherwise, it parses the address as a literal IP address. The 
>> address 
>> parameter can use a host name, but this is not recommended, 
>> because it 
>> will return at most one of the host name's IP addresses. 
>>
>> See func Dial for a description of the network and address 
>> parameters. 
>>
>>
>> as opposed to the following less useful `go doc' output: 
>>
>> func Pipe() (Conn, Conn) 
>> func ResolveIPAddr(network, address string) (*IPAddr, error) 
>> func ResolveTCPAddr(network, address string) (*TCPAddr, error) 
>>
>> I have been relying on this behavior for a long time to open up the 
>> documentation of a package and just search for the method I'm using. 
>> Instead of having to open the docs for each method/symbol separately. 
>>
>> Thanks, 
>>
>> -js 
>>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Re: Is the go 1.11 godoc tool 'module-aware'?

2018-08-30 Thread Agniva De Sarker
We will shift over the features from godoc to "go doc" before removing 
support, so that the output remains consistent. I think there is already an 
open issue for exactly what you have shown above. So no worries, things 
will be the same.

On Friday, 31 August 2018 02:16:54 UTC+5:30, John Shahid wrote:
>
>
> Agniva De Sarker > writes: 
>
> > Also - note that godoc cli mode is going to go away. So "godoc -links=0 
> > -html domain.com/group/project/v3/lib/foo" is not going to work after 
> 1.12. 
> > You should be using the http server. If you want command line help, use 
> "go 
> > doc". 
>
> Is there a way to get the same output as godoc ? `go doc' lists the 
> exported symbols but not their documentation.  For example the following 
> is what I get from `godoc' 
>
> func ResolveIPAddr(network, address string) (*IPAddr, error) 
> ResolveIPAddr returns an address of IP end point. 
>
> The network must be an IP network name. 
>
> If the host in the address parameter is not a literal IP address, 
> ResolveIPAddr resolves the address to an address of IP end point. 
> Otherwise, it parses the address as a literal IP address. The 
> address 
> parameter can use a host name, but this is not recommended, 
> because it 
> will return at most one of the host name's IP addresses. 
>
> See func Dial for a description of the network and address 
> parameters. 
>
>
> as opposed to the following less useful `go doc' output: 
>
> func Pipe() (Conn, Conn) 
> func ResolveIPAddr(network, address string) (*IPAddr, error) 
> func ResolveTCPAddr(network, address string) (*TCPAddr, error) 
>
> I have been relying on this behavior for a long time to open up the 
> documentation of a package and just search for the method I'm using. 
> Instead of having to open the docs for each method/symbol separately. 
>
> Thanks, 
>
> -js 
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Re: Is the go 1.11 godoc tool 'module-aware'?

2018-08-30 Thread Agniva De Sarker
Hmm .. you can still generate html docs in a round-about fashion by 
spinning up the godoc server and storing the response of the http request 
of the package path.

Otherwise, you are free to use the godoc2md tool 
- https://github.com/davecheney/godoc2md, which generates markdown pages 
from a package path. It's a great way to generate static docs.

On Friday, 31 August 2018 01:39:06 UTC+5:30, Justin Israel wrote:
>
>
>
> On Thu, Aug 30, 2018, 9:54 PM Agniva De Sarker  > wrote:
>
>> I had filed https://github.com/golang/go/issues/26827 to list the 
>> changes that godoc needs to make. Please feel free to add your comments 
>> there.
>>
>> Also - note that godoc cli mode is going to go away. So "godoc -links=0 
>> -html domain.com/group/project/v3/lib/foo" is not going to work after 
>> 1.12. You should be using the http server. If you want command line help, 
>> use "go doc".
>>
>
> Fair enough. I should just discontinue the feature we have in our build 
> systems Go tool. It was neat to generate html docs with our deploys. 
>
>
>> - Agniva
>>
>>
>> On Thursday, 30 August 2018 01:02:48 UTC+5:30, Justin Israel wrote:
>>>
>>> Thanks for that update, Paul!
>>>
>>> On Thu, Aug 30, 2018, 2:07 AM Paul Jolly  wrote:
>>>
 Perhaps better (because of the automatic linking, status updates etc)
 is to create issues in respective tools under the umbrella of
 https://github.com/golang/go/issues/24661

 Indeed I know there are a number of such issues, so it's just a case
 of linking those from #24661.
 On Wed, 29 Aug 2018 at 07:46, wilk  wrote:
 >
 >
 > It could be fine to start a wiki page to list the tools and ide
 > (not)ready for modules with the linked issues.
 >
 > In https://github.com/golang/go/wiki/Modules or a new page ?
 >
 > On 29-08-2018, Paul Jolly wrote:
 > > --50127c057491b176
 > > Content-Type: text/plain; charset="UTF-8"
 > >
 > > Please see https://github.com/golang/gddo/issues/567
 > >
 > > On Tue, 28 Aug 2018, 18:59 Justin Israel,  
 wrote:
 > >
 > >> I've been trying out converting some of our internal projects to 
 go 1.11
 > >> using modules instead of glide. We have a build system that 
 provides the
 > >> ability to generate html docs via "godoc" and I am wondering if 
 godoc has
 > >> been made "module-aware" in go 1.11?
 > >>
 > >> My particular project is using the migration approach of setting 
 "v3" at
 > >> in the go.mod, and in all import paths within the project. But it 
 seems
 > >> godoc is not happy about this:
 > >>
 > >> godoc -links=0 -html domain.com/group/project/v3/lib/foo
 > >>
 > >> 2018/08/29 11:52:12 error while importing build package: cannot 
 find package "domain.com/group/project/v3/lib/foo" in any of:
 > >> /path/to/go/1.11.0/src/domain.com/group/project/v3/lib/foo 
 (from $GOROOT)
 > >> /usr/home/justin/src/go/src/
 domain.com/group/project/v3/lib/foo (from $GOPATH)
 > >> 2018/08/29 11:52:12 cannot find package "." in:
 > >> /src/domain.com/group/project/v3/lib/foo
 > >>
 > >>
 > >> It seems to only care about the filesystem structure and not the 
 module import path naming?
 > >>
 > >>
 > >> Justin
 > >>
 > >>
 > >> --
 > >> 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...@googlegroups.com.
 > >> For more options, visit https://groups.google.com/d/optout.
 > >>
 > >
 >
 >
 > --
 > William
 >
 > --
 > 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...@googlegroups.com.
 > For more options, visit https://groups.google.com/d/optout.

 -- 
 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...@googlegroups.com.
>>>
>>>
 For more options, visit https://groups.google.com/d/optout.

>>> -- 
>> 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...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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.
For more options, visit 

Re: [go-nuts] Re: Is the go 1.11 godoc tool 'module-aware'?

2018-08-30 Thread Paul Jolly
cc Ian Cottrell
On Thu, 30 Aug 2018 at 14:08, Justin Israel  wrote:
>
>
>
> On Thu, Aug 30, 2018, 9:54 PM Agniva De Sarker  
> wrote:
>>
>> I had filed https://github.com/golang/go/issues/26827 to list the changes 
>> that godoc needs to make. Please feel free to add your comments there.
>>
>> Also - note that godoc cli mode is going to go away. So "godoc -links=0 
>> -html domain.com/group/project/v3/lib/foo" is not going to work after 1.12. 
>> You should be using the http server. If you want command line help, use "go 
>> doc".
>
>
> Fair enough. I should just discontinue the feature we have in our build 
> systems Go tool. It was neat to generate html docs with our deploys.
>
>>
>> - Agniva
>>
>>
>> On Thursday, 30 August 2018 01:02:48 UTC+5:30, Justin Israel wrote:
>>>
>>> Thanks for that update, Paul!
>>>
>>> On Thu, Aug 30, 2018, 2:07 AM Paul Jolly  wrote:

 Perhaps better (because of the automatic linking, status updates etc)
 is to create issues in respective tools under the umbrella of
 https://github.com/golang/go/issues/24661

 Indeed I know there are a number of such issues, so it's just a case
 of linking those from #24661.
 On Wed, 29 Aug 2018 at 07:46, wilk  wrote:
 >
 >
 > It could be fine to start a wiki page to list the tools and ide
 > (not)ready for modules with the linked issues.
 >
 > In https://github.com/golang/go/wiki/Modules or a new page ?
 >
 > On 29-08-2018, Paul Jolly wrote:
 > > --50127c057491b176
 > > Content-Type: text/plain; charset="UTF-8"
 > >
 > > Please see https://github.com/golang/gddo/issues/567
 > >
 > > On Tue, 28 Aug 2018, 18:59 Justin Israel,  wrote:
 > >
 > >> I've been trying out converting some of our internal projects to go 
 > >> 1.11
 > >> using modules instead of glide. We have a build system that provides 
 > >> the
 > >> ability to generate html docs via "godoc" and I am wondering if godoc 
 > >> has
 > >> been made "module-aware" in go 1.11?
 > >>
 > >> My particular project is using the migration approach of setting "v3" 
 > >> at
 > >> in the go.mod, and in all import paths within the project. But it 
 > >> seems
 > >> godoc is not happy about this:
 > >>
 > >> godoc -links=0 -html domain.com/group/project/v3/lib/foo
 > >>
 > >> 2018/08/29 11:52:12 error while importing build package: cannot find 
 > >> package "domain.com/group/project/v3/lib/foo" in any of:
 > >> /path/to/go/1.11.0/src/domain.com/group/project/v3/lib/foo 
 > >> (from $GOROOT)
 > >> 
 > >> /usr/home/justin/src/go/src/domain.com/group/project/v3/lib/foo (from 
 > >> $GOPATH)
 > >> 2018/08/29 11:52:12 cannot find package "." in:
 > >> /src/domain.com/group/project/v3/lib/foo
 > >>
 > >>
 > >> It seems to only care about the filesystem structure and not the 
 > >> module import path naming?
 > >>
 > >>
 > >> Justin
 > >>
 > >>
 > >> --
 > >> 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...@googlegroups.com.
 > >> For more options, visit https://groups.google.com/d/optout.
 > >>
 > >
 >
 >
 > --
 > William
 >
 > --
 > 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...@googlegroups.com.
 > For more options, visit https://groups.google.com/d/optout.

 --
 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...@googlegroups.com.


 For more options, visit https://groups.google.com/d/optout.
>>
>> --
>> 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.
>> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
For more options, visit 

Re: [go-nuts] Re: Is the go 1.11 godoc tool 'module-aware'?

2018-08-30 Thread Justin Israel
On Thu, Aug 30, 2018, 9:54 PM Agniva De Sarker 
wrote:

> I had filed https://github.com/golang/go/issues/26827 to list the changes
> that godoc needs to make. Please feel free to add your comments there.
>
> Also - note that godoc cli mode is going to go away. So "godoc -links=0
> -html domain.com/group/project/v3/lib/foo" is not going to work after
> 1.12. You should be using the http server. If you want command line help,
> use "go doc".
>

Fair enough. I should just discontinue the feature we have in our build
systems Go tool. It was neat to generate html docs with our deploys.


> - Agniva
>
>
> On Thursday, 30 August 2018 01:02:48 UTC+5:30, Justin Israel wrote:
>>
>> Thanks for that update, Paul!
>>
>> On Thu, Aug 30, 2018, 2:07 AM Paul Jolly  wrote:
>>
>>> Perhaps better (because of the automatic linking, status updates etc)
>>> is to create issues in respective tools under the umbrella of
>>> https://github.com/golang/go/issues/24661
>>>
>>> Indeed I know there are a number of such issues, so it's just a case
>>> of linking those from #24661.
>>> On Wed, 29 Aug 2018 at 07:46, wilk  wrote:
>>> >
>>> >
>>> > It could be fine to start a wiki page to list the tools and ide
>>> > (not)ready for modules with the linked issues.
>>> >
>>> > In https://github.com/golang/go/wiki/Modules or a new page ?
>>> >
>>> > On 29-08-2018, Paul Jolly wrote:
>>> > > --50127c057491b176
>>> > > Content-Type: text/plain; charset="UTF-8"
>>> > >
>>> > > Please see https://github.com/golang/gddo/issues/567
>>> > >
>>> > > On Tue, 28 Aug 2018, 18:59 Justin Israel, 
>>> wrote:
>>> > >
>>> > >> I've been trying out converting some of our internal projects to go
>>> 1.11
>>> > >> using modules instead of glide. We have a build system that
>>> provides the
>>> > >> ability to generate html docs via "godoc" and I am wondering if
>>> godoc has
>>> > >> been made "module-aware" in go 1.11?
>>> > >>
>>> > >> My particular project is using the migration approach of setting
>>> "v3" at
>>> > >> in the go.mod, and in all import paths within the project. But it
>>> seems
>>> > >> godoc is not happy about this:
>>> > >>
>>> > >> godoc -links=0 -html domain.com/group/project/v3/lib/foo
>>> > >>
>>> > >> 2018/08/29 11:52:12 error while importing build package: cannot
>>> find package "domain.com/group/project/v3/lib/foo" in any of:
>>> > >> /path/to/go/1.11.0/src/domain.com/group/project/v3/lib/foo
>>> (from $GOROOT)
>>> > >> /usr/home/justin/src/go/src/
>>> domain.com/group/project/v3/lib/foo (from $GOPATH)
>>> > >> 2018/08/29 11:52:12 cannot find package "." in:
>>> > >> /src/domain.com/group/project/v3/lib/foo
>>> > >>
>>> > >>
>>> > >> It seems to only care about the filesystem structure and not the
>>> module import path naming?
>>> > >>
>>> > >>
>>> > >> Justin
>>> > >>
>>> > >>
>>> > >> --
>>> > >> 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...@googlegroups.com.
>>> > >> For more options, visit https://groups.google.com/d/optout.
>>> > >>
>>> > >
>>> >
>>> >
>>> > --
>>> > William
>>> >
>>> > --
>>> > 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...@googlegroups.com.
>>> > For more options, visit https://groups.google.com/d/optout.
>>>
>>> --
>>> 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...@googlegroups.com.
>>
>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Re: Is the go 1.11 godoc tool 'module-aware'?

2018-08-30 Thread Agniva De Sarker
I had filed https://github.com/golang/go/issues/26827 to list the changes 
that godoc needs to make. Please feel free to add your comments there.

Also - note that godoc cli mode is going to go away. So "godoc -links=0 
-html domain.com/group/project/v3/lib/foo" is not going to work after 1.12. 
You should be using the http server. If you want command line help, use "go 
doc".

- Agniva


On Thursday, 30 August 2018 01:02:48 UTC+5:30, Justin Israel wrote:
>
> Thanks for that update, Paul!
>
> On Thu, Aug 30, 2018, 2:07 AM Paul Jolly > 
> wrote:
>
>> Perhaps better (because of the automatic linking, status updates etc)
>> is to create issues in respective tools under the umbrella of
>> https://github.com/golang/go/issues/24661
>>
>> Indeed I know there are a number of such issues, so it's just a case
>> of linking those from #24661.
>> On Wed, 29 Aug 2018 at 07:46, wilk > 
>> wrote:
>> >
>> >
>> > It could be fine to start a wiki page to list the tools and ide
>> > (not)ready for modules with the linked issues.
>> >
>> > In https://github.com/golang/go/wiki/Modules or a new page ?
>> >
>> > On 29-08-2018, Paul Jolly wrote:
>> > > --50127c057491b176
>> > > Content-Type: text/plain; charset="UTF-8"
>> > >
>> > > Please see https://github.com/golang/gddo/issues/567
>> > >
>> > > On Tue, 28 Aug 2018, 18:59 Justin Israel, > > wrote:
>> > >
>> > >> I've been trying out converting some of our internal projects to go 
>> 1.11
>> > >> using modules instead of glide. We have a build system that provides 
>> the
>> > >> ability to generate html docs via "godoc" and I am wondering if 
>> godoc has
>> > >> been made "module-aware" in go 1.11?
>> > >>
>> > >> My particular project is using the migration approach of setting 
>> "v3" at
>> > >> in the go.mod, and in all import paths within the project. But it 
>> seems
>> > >> godoc is not happy about this:
>> > >>
>> > >> godoc -links=0 -html domain.com/group/project/v3/lib/foo
>> > >>
>> > >> 2018/08/29 11:52:12 error while importing build package: cannot find 
>> package "domain.com/group/project/v3/lib/foo" in any of:
>> > >> /path/to/go/1.11.0/src/domain.com/group/project/v3/lib/foo 
>> (from $GOROOT)
>> > >> /usr/home/justin/src/go/src/
>> domain.com/group/project/v3/lib/foo (from $GOPATH)
>> > >> 2018/08/29 11:52:12 cannot find package "." in:
>> > >> /src/domain.com/group/project/v3/lib/foo
>> > >>
>> > >>
>> > >> It seems to only care about the filesystem structure and not the 
>> module import path naming?
>> > >>
>> > >>
>> > >> Justin
>> > >>
>> > >>
>> > >> --
>> > >> 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...@googlegroups.com .
>> > >> For more options, visit https://groups.google.com/d/optout.
>> > >>
>> > >
>> >
>> >
>> > --
>> > William
>> >
>> > --
>> > 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...@googlegroups.com .
>> > For more options, visit https://groups.google.com/d/optout.
>>
>> -- 
>> 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...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Re: Is the go 1.11 godoc tool 'module-aware'?

2018-08-29 Thread Justin Israel
Thanks for that update, Paul!

On Thu, Aug 30, 2018, 2:07 AM Paul Jolly  wrote:

> Perhaps better (because of the automatic linking, status updates etc)
> is to create issues in respective tools under the umbrella of
> https://github.com/golang/go/issues/24661
>
> Indeed I know there are a number of such issues, so it's just a case
> of linking those from #24661.
> On Wed, 29 Aug 2018 at 07:46, wilk  wrote:
> >
> >
> > It could be fine to start a wiki page to list the tools and ide
> > (not)ready for modules with the linked issues.
> >
> > In https://github.com/golang/go/wiki/Modules or a new page ?
> >
> > On 29-08-2018, Paul Jolly wrote:
> > > --50127c057491b176
> > > Content-Type: text/plain; charset="UTF-8"
> > >
> > > Please see https://github.com/golang/gddo/issues/567
> > >
> > > On Tue, 28 Aug 2018, 18:59 Justin Israel, 
> wrote:
> > >
> > >> I've been trying out converting some of our internal projects to go
> 1.11
> > >> using modules instead of glide. We have a build system that provides
> the
> > >> ability to generate html docs via "godoc" and I am wondering if godoc
> has
> > >> been made "module-aware" in go 1.11?
> > >>
> > >> My particular project is using the migration approach of setting "v3"
> at
> > >> in the go.mod, and in all import paths within the project. But it
> seems
> > >> godoc is not happy about this:
> > >>
> > >> godoc -links=0 -html domain.com/group/project/v3/lib/foo
> > >>
> > >> 2018/08/29 11:52:12 error while importing build package: cannot find
> package "domain.com/group/project/v3/lib/foo" in any of:
> > >> /path/to/go/1.11.0/src/domain.com/group/project/v3/lib/foo
> (from $GOROOT)
> > >> /usr/home/justin/src/go/src/
> domain.com/group/project/v3/lib/foo (from $GOPATH)
> > >> 2018/08/29 11:52:12 cannot find package "." in:
> > >> /src/domain.com/group/project/v3/lib/foo
> > >>
> > >>
> > >> It seems to only care about the filesystem structure and not the
> module import path naming?
> > >>
> > >>
> > >> Justin
> > >>
> > >>
> > >> --
> > >> 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.
> > >> For more options, visit https://groups.google.com/d/optout.
> > >>
> > >
> >
> >
> > --
> > William
> >
> > --
> > 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.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [go-nuts] Re: Is the go 1.11 godoc tool 'module-aware'?

2018-08-29 Thread Paul Jolly
Perhaps better (because of the automatic linking, status updates etc)
is to create issues in respective tools under the umbrella of
https://github.com/golang/go/issues/24661

Indeed I know there are a number of such issues, so it's just a case
of linking those from #24661.
On Wed, 29 Aug 2018 at 07:46, wilk  wrote:
>
>
> It could be fine to start a wiki page to list the tools and ide
> (not)ready for modules with the linked issues.
>
> In https://github.com/golang/go/wiki/Modules or a new page ?
>
> On 29-08-2018, Paul Jolly wrote:
> > --50127c057491b176
> > Content-Type: text/plain; charset="UTF-8"
> >
> > Please see https://github.com/golang/gddo/issues/567
> >
> > On Tue, 28 Aug 2018, 18:59 Justin Israel,  wrote:
> >
> >> I've been trying out converting some of our internal projects to go 1.11
> >> using modules instead of glide. We have a build system that provides the
> >> ability to generate html docs via "godoc" and I am wondering if godoc has
> >> been made "module-aware" in go 1.11?
> >>
> >> My particular project is using the migration approach of setting "v3" at
> >> in the go.mod, and in all import paths within the project. But it seems
> >> godoc is not happy about this:
> >>
> >> godoc -links=0 -html domain.com/group/project/v3/lib/foo
> >>
> >> 2018/08/29 11:52:12 error while importing build package: cannot find 
> >> package "domain.com/group/project/v3/lib/foo" in any of:
> >> /path/to/go/1.11.0/src/domain.com/group/project/v3/lib/foo (from 
> >> $GOROOT)
> >> /usr/home/justin/src/go/src/domain.com/group/project/v3/lib/foo 
> >> (from $GOPATH)
> >> 2018/08/29 11:52:12 cannot find package "." in:
> >> /src/domain.com/group/project/v3/lib/foo
> >>
> >>
> >> It seems to only care about the filesystem structure and not the module 
> >> import path naming?
> >>
> >>
> >> Justin
> >>
> >>
> >> --
> >> 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.
> >> For more options, visit https://groups.google.com/d/optout.
> >>
> >
>
>
> --
> William
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[go-nuts] Re: Is the go 1.11 godoc tool 'module-aware'?

2018-08-29 Thread wilk


It could be fine to start a wiki page to list the tools and ide 
(not)ready for modules with the linked issues.

In https://github.com/golang/go/wiki/Modules or a new page ?

On 29-08-2018, Paul Jolly wrote:
> --50127c057491b176
> Content-Type: text/plain; charset="UTF-8"
>
> Please see https://github.com/golang/gddo/issues/567
>
> On Tue, 28 Aug 2018, 18:59 Justin Israel,  wrote:
>
>> I've been trying out converting some of our internal projects to go 1.11
>> using modules instead of glide. We have a build system that provides the
>> ability to generate html docs via "godoc" and I am wondering if godoc has
>> been made "module-aware" in go 1.11?
>>
>> My particular project is using the migration approach of setting "v3" at
>> in the go.mod, and in all import paths within the project. But it seems
>> godoc is not happy about this:
>>
>> godoc -links=0 -html domain.com/group/project/v3/lib/foo
>>
>> 2018/08/29 11:52:12 error while importing build package: cannot find package 
>> "domain.com/group/project/v3/lib/foo" in any of:
>> /path/to/go/1.11.0/src/domain.com/group/project/v3/lib/foo (from 
>> $GOROOT)
>> /usr/home/justin/src/go/src/domain.com/group/project/v3/lib/foo 
>> (from $GOPATH)
>> 2018/08/29 11:52:12 cannot find package "." in:
>> /src/domain.com/group/project/v3/lib/foo
>>
>>
>> It seems to only care about the filesystem structure and not the module 
>> import path naming?
>>
>>
>> Justin
>>
>>
>> --
>> 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.
>> For more options, visit https://groups.google.com/d/optout.
>>
>


-- 
William

-- 
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.
For more options, visit https://groups.google.com/d/optout.