我有一种情况,我想printf两次使用我的论点.
printf
fmt.Printf("%d %d", i, i)
有没有办法告诉fmt.Printf重用同样的东西i?
fmt.Printf
i
fmt.Printf("%d %d", i)
printf go
go ×1
printf ×1