5 ms·
The first one (string with variable interpolation) is not internationalizable, only the third one is. > the third has ordering issues In Go you can specify th
by sisalcat 12y ago
The first one (string with variable interpolation) is not internationalizable, only the third one is.
> the third has ordering issues
In Go you can specify the order in format strings:
fmt.Sprintf("%[2]d %[1]d\n", 11, 22)
http://golang.org/pkg/fmt/ http://golang.org/pkg/fmt/