Groups
Groups
Sign in
Groups
Groups
golang-nuts
Conversations
About
Send feedback
Help
What is the easiest way to find out the source hosting url of a thrid-party dependency module/package?
54 views
Skip to first unread message
tapi...@gmail.com
unread,
Apr 8, 2021, 11:17:56 AM
4/8/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
It looks such info is not recorded in GOPATH/pkg/mod.
Jan Mercl
unread,
Apr 8, 2021, 11:25:55 AM
4/8/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to tapi...@gmail.com, golang-nuts
On Thu, Apr 8, 2021 at 5:18 PM
tapi...@gmail.com
<
tapi...@gmail.com
> wrote:
> It looks such info is not recorded in GOPATH/pkg/mod.
Do you mean the import path to repository URL mapping?
jnml@e5-1650:~/tmp$ wget
modernc.org/sqlite
&& grep go- sqlite
--2021-04-08 17:23:49--
http://modernc.org/sqlite
Resolving
modernc.org
(
modernc.org
)... 216.239.32.21, 216.239.38.21, 216.239.36.21, ...
Connecting to
modernc.org
(
modernc.org
)|216.239.32.21|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location:
https://modernc.org/sqlite
[following]
--2021-04-08 17:23:49--
https://modernc.org/sqlite
Connecting to
modernc.org
(
modernc.org
)|216.239.32.21|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 577 [text/html]
Saving to: 'sqlite'
sqlite 100%[=============================================================================================================>] 577 --.-KB/s in 0s
2021-04-08 17:23:49 (10.8 MB/s) - 'sqlite' saved [577/577]
<meta name="go-import" content="
modernc.org/sqlite
git
https://gitlab.com/cznic/sqlite
">
<meta name="go-source" content="
modernc.org/sqlite
_
https://gitlab.com/cznic/sqlite/blob/master{/dir}
https://gitlab.com/cznic/sqlite/blob/master{/dir}/{file}#L{line}
">
jnml@e5-1650:~/tmp$
tapi...@gmail.com
unread,
Apr 8, 2021, 11:40:40 AM
4/8/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
Ah. I forgot this way. Thanks for the tip!
Reply all
Reply to author
Forward
0 new messages