3 ms·Go has both Stringer and GoStringer interfaces, which is basically the same thing as __repr__.by tucnak 1y agoGo has both Stringer and GoStringer interfaces, which is basically the same thing as __repr__.