func FromContext()

in fccontext/context.go [78:85]


func FromContext(ctx context.Context) (*FcContext, bool) {
	lc, ok := ctx.Value(contextKey).(*FcContext)
	if !ok {
		return nil, false
	}
	lc.logger = NewFcLogger(lc.RequestID)
	return lc, ok
}