Skip to content

Commit

Permalink
Init Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
janrs-io committed May 29, 2023
1 parent 81a5dfb commit e9f75d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions otel-span.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ type OtelSpan struct {
tracer *sdktrace.TracerProvider
}

// NewOtelSpan 实例化 OtelSpan
func NewOtelSpan(tracer *sdktrace.TracerProvider) *OtelSpan {
// New 实例化 OtelSpan
func New(tracer *sdktrace.TracerProvider) *OtelSpan {
return &OtelSpan{
tracer: tracer,
}
Expand Down

0 comments on commit e9f75d3

Please sign in to comment.