2 ms·
One way to work around that is to use interfaces (https://play.golang.org/p/aAEAi8GvDkv https://play.golang.org/p/aAEAi8GvDkv), but either way, you are "shadowi
by Vendan 7y ago
One way to work around that is to use interfaces (https://play.golang.org/p/aAEAi8GvDkv https://play.golang.org/p/aAEAi8GvDkv), but either way, you are "shadowing" the type, and can no longer use the .TraceID in the second function cause it's just a plain error at that point.