Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FunctionName ¶
func FunctionName() string
FunctionName get function name programmatically. It will return function name complete from the package and method receiver name. This function should called when you start span.
Do this: span, ctx := opentracing.StartSpanFromContext(ctx, FunctionName())
Instead of: span, ctx := opentracing.StartSpanFromContext(ctx, "Service.Brand.Create")
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.