Documentation: Fix a bug in the example in Constants subsection
Not a bug per-se, the issue is that the fmt.Sprintf method inside the ByteSize.String() method ends up calling itself to generate the String representation of the ByteSize value. Infinite loops are bad. Updated as per review comments R=r CC=golang-dev https://golang.org/cl/1974046
Showing
Please
register
or
sign in
to comment