In many other modern languages, “printf” type facilities allow the selection of arguments for substitution into the format string by their numerical position, rather than only in the order they appear. E.g. in Java:
System.out.printf("This is arg 2 %2$s and this is arg 1 %1$sn", "first", "second")
produces the output:
This is arg 2 second and this is arg 1 first
I believe this is even specified by Posix in some context, since localization often requires language-specific word order.
Does Go support this capability? I’ve tried the obvious format string, but that didn’t work.