Ah, found it! If I write types.NewPointer(reader.Type()) instead of just
reader.Type(), things work better.
On Tuesday, 18 April 2023 at 20:34:30 UTC+1 Jochen Voss wrote:
> Dear all,
>
> I'm trying to find the callgraph of a method, using the following code:
>
> package main
>
> import (
> "log
We are a team of experienced developers and are currently discussing how we
may improve our modeling of expected domain errors in our layered
architecture. We are used to work with the idiomatic way of defining and
matching against our custom error types. We followed and understand the
design d
> I’m not aware of a stable URL that always points to the latest patch
release like you described (maybe there is one and someone else will chime
in), but did want to mention that the json output from
https://go.dev/dl/?mode=json is very useful if running in an environment
where you can sprinkl
I like gofmt a lot. I'm not as happy with godoc. Apparently the in the 1.19
release gofmt started reformatting comments to be consistent with godoc. I
missed this in the release notes (which I may not have read, *mea culpa*).
For a long time this wasn't an issue for me but recently I've had gofm
On Wed, Apr 19, 2023 at 2:11 PM Marc Adkins wrote:
>
> I like gofmt a lot. I'm not as happy with godoc. Apparently the in the 1.19
> release gofmt started reformatting comments to be consistent with godoc. I
> missed this in the release notes (which I may not have read, mea culpa).
>
> For a lon
On Wed, 2023-04-19 at 14:30 -0700, Ian Lance Taylor wrote:
>
> If you give us more details perhaps there is some common ground
> available. In particular, a sequence of lines where each line is
> indented will be treated as a code block, and not reformatted.
Related, I'd like to reiterate the co