How to cast custom int to string in go and not get replacement character
I have a local int type, Duration, type Duration int
and I’ve added a String method to it (wrapped?, I’m not sure the terminology):
I have a local int type, Duration, type Duration int
and I’ve added a String method to it (wrapped?, I’m not sure the terminology):