Jeremy Loy
Jeremy Loy
https://pkg.go.dev/flag#pkg-overview The stdlib can already bind pointers to flags, that’s handled every usecase I’ve need so far. It seems it also handles your usecases of * not every config value...
I was probably going to add the whole keyboard this weekend. btw how’s the color contrast working for you? I’ve tried a few different terminals and frankly some just don’t...
I don’t believe it’s defined at all. I’m hoping that this issue will track the inclusion of the tag specification, and that it should allow for semver strings.
Yes and no. Lack of support for the `+` character is a limitation of Docker/Moby. With that sole modification, it’s possible for a Docker tag to be a valid semver...
I guess a better title would be “define a specification for tags” I’ll make it so
A small correction to your given implementation: https://github.com/golang/go/wiki/SliceTricks#batching-with-minimal-allocation it’s important to use the 3 arg form when chunking, otherwise appending to a chunk could overwrite unintentionally https://go.dev/play/p/Zp0Dh5cB1rB
@rsc thanks for chiming in on this old issue that existed before the new iterator proposal! your comment got me thinking - what about an additional `chunk` function that accepted...
@rsc I do think accepting an `iter.Seq[T]` is important too, that way this `Chunk` function (and other iterator adapters) can be used as pipeline steps. Would that negatively affect the...
Ah yes, it absolutely would. Thanks for pointing me towards that, I didn't know it existed!