3 ms·
Yes, fmt does support printing a custom type, see: https://fmt.dev/latest/api.html#formatting-user-defined-types https://fmt.dev/latest/api.html#formatting-use
by olvy0 5y ago
Yes, fmt does support printing a custom type, see:
https://fmt.dev/latest/api.html#formatting-user-defined-types https://fmt.dev/latest/api.html#formatting-user-defined-type...
It may look like a lot to implement, but it worked flawlessly for me several years ago for a simple case, just by copying and pasting the example code there.