package
1.2.10
Repository: https://github.com/dkhorkov/libs.git
Documentation: pkg.go.dev

# Packages

Package mocks is a generated GoMock package.

# Functions

CallerName return info about function, where trace.Span was created https://stackoverflow.com/questions/25927660/how-to-get-the-current-function-name.
New create new *CommonTraceProvider for creating spans for traces.

# Constants

No description provided by the author
No description provided by the author

# Structs

CommonTraceProvider provides the ability to easily create spans for tracing.
Config represents tracing setup config.
SpanConfig is needed to configure creation of new span.
SpanEventConfig is needed to configure creation of single span event.
SpanEventsConfig is needed to configure creation of span events.

# Interfaces

TraceProvider interface is created for usage in external application according to "dependency inversion principle" of SOLID due to working via abstractions.