3 ms·
I actually found a good use for string.Template, but that doesn't mean I understand why it exists in addition to the other two formatting sub-languages.
by sevensor 11y ago
I actually found a good use for string.Template, but that doesn't mean I understand why it exists in addition to the other two formatting sub-languages.
- mixmastamyk 11y agoIt was created long before .format and is better in some cases for i18n where simplicity is best.