Commit Graph

3 Commits

Author SHA1 Message Date
Matthieu MOREL 808fb7c260
[chore]: enable gofumpt linter in client, cmd, component, config and confmap (#11587)
#### Description

[gofumpt](https://golangci-lint.run/usage/linters/#gofumpt) is a
stricter format than gofmt, while being backwards compatible.

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2024-12-11 08:50:57 +00:00
Antoine Toulme a8580db3bf
[confmap] Remove top level condition when considering struct as Unmarshalers. (#9862)
This is a slice of #9750 focusing on removing the top level condition on
unmarshaling structs.

---------

Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
2024-05-23 16:14:28 +02:00
Antoine Toulme 26ee291bce
[confmap] support unmarshaling for embedded structs with and without squashing (#9861)
This is taking a small slice of #9750 to document the behavior of
confmap and make sure we can unmarshal embedded structs.
2024-04-02 21:38:09 -07:00