Hello,
Nothing really blocking here but i was wondering if something like that is ok in go :
_, err = client.
Container().
From("golang:1.19.1-alpine3.16").
WithMountedDirectory("/go/src/hello", workdir).
WithWorkdir("/go/src/hello").
Exec(execOpts).
Stdout().
Contents(ctx)
Since with the go sdk there is a lot of chaining, looks better imo than
_, err = client.Container().From("golang:1.19.1-alpine3.16").WithMountedDirectory("/go/src/hello", workdir).WithWorkdir("/go/src/hello").Exec(execOpts).Stdout().Contents(ctx)