Daniel Martí
Daniel Martí
Related: https://github.com/cue-lang/cue/issues/2236
Which one of these are you using? * The Go API from a Go program, i.e. https://pkg.go.dev/cuelang.org/go/encoding/yaml#Encode * The CUE standard library from a CUE file, i.e. https://pkg.go.dev/cuelang.org/go/pkg/encoding/yaml#Marshal * The...
What's also interesting is that all examples I can see from yaml.org do not indent list elements. I'm not sure why the go-yaml package does that by default. I can't...
OK thanks for the info. Do you have any further info in terms of which style should be the default and why? For example, if either is preferred by the...
I asked the YAML team about their preference or choice of default via their Matrix chatroom, and to my surprise, they replied! @ingydotnet said: > The YAML core dev team...
@herebebeasties not yet - this is a trivial change code-wise, we just need to be careful about what change we make for end users and how we transition it. For...
@verdverm do you still experience slowness with the playground? It still evaluates at every keystroke, but I ask because in the past four years it's evolved quite a lot, and...
Have you seen https://github.com/mvdan/gofumpt/issues/180#issuecomment-1125884604 and the following discussion? I also see that https://github.com/TekWizely/pre-commit-golang has a hook which runs gofumpt on the entire project. That would be my recommendation, as it...
> I would also like a way to disable this completely. There are some instances where types implement custom json marshalers, but have the same API. Interesting - why does...
That sort of makes sense, thanks. One potential counter-argument to no longer treating "only marshaler" or "only unmarshaler" types as top is that perhaps the code really only needs to...