client: gofmt
client: simplify access to embedded field