fmtless icon indicating copy to clipboard operation
fmtless copied to clipboard

encoding/hex

Open jackkleeman opened this issue 8 years ago • 1 comments

Can the single instance of fmt.sprintf in encoding/hex be replaced with fmtless? I am unsure exactly what the fmtless version of sprintf supports. If so, I'll make a PR with an encoding/hex package, if you are happy to include it.

jackkleeman avatar Dec 27 '16 19:12 jackkleeman

Sorry for dropping this for a few months! Simply put, probably; the Go stdlib is full of cases where fmt is not required, it's just marginally (really, really marginally) more ergonomic than using errors.

The easiest thing would be to test it, because honestly I can't remember what I put in fmtless; it's designed to fit most uses of fmt's formatting syntax, but it does not cover all. fmt is pretty amazing in how much it can do, if you look into the depth of stuff there. :)

cathalgarvey avatar May 19 '17 13:05 cathalgarvey