You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Despite it being given in the old examples, that style of format was never supposed to work. The mechanisms in fmt have since been updated to reflect the documentation in accordance with how C's printf works with regards to argument-specified width.
The correct way to specify width by argument is %*[1]v. For example: fmt.printf("%*[1]s", "Hellope", 16)
After #3566, dynamically setting width in the following way stopped working:
The text was updated successfully, but these errors were encountered: