Hi Kamil,

you can probably read it as Invalid argument index or invalid use of argument index.

Hope that helps.

On 10/9/21 12:33 AM, Kamil Ziemian wrote:
Hello,

I now read documentation of "fmt" package and in "Format errors" (https://pkg.go.dev/fmt@go1.17.2#hdr-Format_errors) we have
Invalid or invalid use of argument index: %!(BADINDEX)
     Printf("%*[2]d", 7):       %!d(BADINDEX)
     Printf("%.[2]d", 7):       %!d(BADINDEX)

I cannot understand what "Invalid or invalid use of argument index" was intended to mean? Can anyone help me with that?

Best
Kamil


--
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/d9984d72-9f28-f63d-b2a3-a95992c6b483%40mb0.org.

Reply via email to