type golang.org/x/pkgsite/internal/log.traceIDKey
4 uses
golang.org/x/pkgsite/internal/log (current package)
log.go#L36: traceIDKey struct{}
log.go#L57: return context.WithValue(ctx, traceIDKey{}, traceID)
log.go#L83: traceID, _ := ctx.Value(traceIDKey{}).(string) // if not present, traceID is "", which is fine
log.go#L115: traceID, _ := ctx.Value(traceIDKey{}).(string) // if not present, traceID is ""
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |