https://play.golang.org/p/XZimA47p9qM
Why isnt this formatted with two bytes below 10 and is merely 0-9 instead
of 00, 01, 02 etc etc with a left padded zero?
The documentation of %x for sprintf made me think that this would keep a
left padded zero on my string for 0-9, so I merely abstracte
nyone explores some of our
bad code and wants to help us just reply here or email me direct from
github https://github.com/davidrenne/
On Tuesday, October 17, 2017 at 8:15:23 PM UTC-4, David Renne wrote:
>
> Hi there,
>
> I was wondering if the code ever panics and we have a if reco
I had a question that I cant seem to figure out. I know fmt is a bad
package to use if you have any concurrent workers because it uses f.Write()
and is not thread safe apparently.
But I like using Sprintf because I can format strings and return as a
string. How can I implement something to us
everywhere.
On Tuesday, October 17, 2017 at 8:15:23 PM UTC-4, David Renne wrote:
>
> Hi there,
>
> I was wondering if the code ever panics and we have a if recover :=
> recover(); recover != nil {
>
> in a defer func and we are using sync.RWMutexes which do not have a defer
&g