Modify comment syntax error (#2572)

This commit is contained in:
王哈哈
2022-11-04 21:55:17 +08:00
committed by GitHub
parent 3db64c7d47
commit dac3600b53
24 changed files with 32 additions and 32 deletions

View File

@@ -29,7 +29,7 @@ var (
tp *sdktrace.TracerProvider
)
// StartAgent starts a opentelemetry agent.
// StartAgent starts an opentelemetry agent.
func StartAgent(c Config) {
lock.Lock()
defer lock.Unlock()

View File

@@ -3,7 +3,7 @@ package trace
// TraceName represents the tracing name.
const TraceName = "go-zero"
// A Config is a opentelemetry config.
// A Config is an opentelemetry config.
type Config struct {
Name string `json:",optional"`
Endpoint string `json:",optional"`