Can’t view golang source when clicking on method name in a pkg.go.dev

87 views
Skip to first unread message

christoph...@gmail.com

unread,
Apr 26, 2022, 3:16:06 AM4/26/22
to golang-nuts
I’m redirected to this page https://cs.opensource.google/go/go/+/go1.18.1:src/encoding/json/stream.go;l=49 when I click on the Decode method in the web page https://pkg.go.dev/encoding/json#Decoder.

Is this a transient problem or is the code not open source anymore ?

christoph...@gmail.com

unread,
Apr 26, 2022, 3:37:38 AM4/26/22
to golang-nuts
Sorry, my message needs a clarification. The page https://cs.opensource.google/go/go/+/go1.18.1:src/encoding/json/stream.go;l=49 doesn’t show me the source code.
I see a big gray circle with the message, "authorization rejected, contact the administrator" which is hopeless of course.

Axel Wagner

unread,
Apr 26, 2022, 3:37:51 AM4/26/22
to christoph...@gmail.com, golang-nuts
What is the problem? For me, that page contains the source code of the Decode method.

On Tue, Apr 26, 2022, 09:16 christoph...@gmail.com <christoph...@gmail.com> wrote:
I’m redirected to this page https://cs.opensource.google/go/go/+/go1.18.1:src/encoding/json/stream.go;l=49 when I click on the Decode method in the web page https://pkg.go.dev/encoding/json#Decoder.

Is this a transient problem or is the code not open source anymore ?

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/e55443ff-2b6f-4f41-ae57-c630dfb12116n%40googlegroups.com.

christoph...@gmail.com

unread,
Apr 26, 2022, 3:39:56 AM4/26/22
to golang-nuts
This is a screen capture of what I see https://imgur.com/a/nuBfZeY

Ian Lance Taylor

unread,
Apr 26, 2022, 4:55:21 PM4/26/22
to christoph...@gmail.com, golang-nuts
On Tue, Apr 26, 2022 at 12:40 AM christoph...@gmail.com
<christoph...@gmail.com> wrote:
>
> This is a screen capture of what I see https://imgur.com/a/nuBfZeY

That's odd. I don't see that. And that doesn't look like anything
that Google would display. Is it possible that this has something to
do with the local administration at your site?

Ian
> --
> 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.
> To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/42a27298-a12f-4276-a23e-ce6bc573d4afn%40googlegroups.com.

Björn Graf

unread,
Apr 26, 2022, 5:11:49 PM4/26/22
to Ian Lance Taylor, christoph...@gmail.com, golang-nuts
On Tue, Apr 26, 2022 at 10:55 PM Ian Lance Taylor <ia...@golang.org> wrote:
>
> On Tue, Apr 26, 2022 at 12:40 AM christoph...@gmail.com
> <christoph...@gmail.com> wrote:
> >
> > This is a screen capture of what I see https://imgur.com/a/nuBfZeY
>
> That's odd. I don't see that. And that doesn't look like anything
> that Google would display. Is it possible that this has something to
> do with the local administration at your site?
>
> Ian

This is happening for me more often than not as well in Chrome;
Firefox, in Vivaldi and Edge there is no 403)

Cheers,
Björn

Michael Pratt

unread,
Apr 26, 2022, 5:12:25 PM4/26/22
to Ian Lance Taylor, christoph...@gmail.com, golang-nuts
This sounds like https://go.dev/issue/48956. In that case, it was some interference from an extension.

Björn Graf

unread,
Apr 26, 2022, 5:20:44 PM4/26/22
to Michael Pratt, Ian Lance Taylor, christoph...@gmail.com, golang-nuts
On Tue, Apr 26, 2022 at 11:12 PM 'Michael Pratt' via golang-nuts
<golan...@googlegroups.com> wrote:
>
> This sounds like https://go.dev/issue/48956. In that case, it was some interference from an extension.

Indeed: The same extension caused it for me.

Cheers

christoph...@gmail.com

unread,
Apr 27, 2022, 12:59:35 AM4/27/22
to golang-nuts
Thank you very much. I disabled the DuckDuckGo Privacy Essentials extension and it now works. 

I also noticed that when I do a duckduckgo search for golang packages, that the pkg.go.dev pages are low ranked if present. I'll stop using duckduckgo.
Reply all
Reply to author
Forward
0 new messages