fmtless
fmtless copied to clipboard
encoding/hex
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.
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. :)