Other flags is fixed in Go 1.19: https://pkg.go.dev/fmt@go1.19beta1
Peter
On Tuesday, July 5, 2022 at 5:47:55 PM UTC-4 ben...@gmail.com wrote:
> At the default URL https://pkg.go.dev/fmt the same thing happens for me
> too. However, at https://pkg.go.dev/fmt@master it formats correctly
> (pre-
At the default URL https://pkg.go.dev/fmt the same thing happens for me
too. However, at https://pkg.go.dev/fmt@master it formats correctly
(pre-formatted block like in the source). So I assume this has been fixed
and the default will be updated soon (when 1.19 comes out?).
-Ben
On Tuesday, Ju
your questions don't make much sense without additional context. in particular
> this(fmt.Sprintf)
looks like a vague misunderstanding of how to avoid infinite recursion
in one's own Stringer interface implementation
(https://golang.org/pkg/fmt/#pkg-overview):
type X string
func (x X) St
i am new in go language. just i have questions
> thank u for answers
>>
>
On Sunday, September 25, 2016 at 10:12:58 AM UTC-7, hadies...@gmail.com
wrote:
>
> what is difference between in *fmt.Printf* function and *fmt.Sprintf* ???
>
>
--
You received this message because you are subscribed to t