Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装了gtoken的时候,编译运行报错 #1359

Closed
lala0257 opened this issue Jul 27, 2021 · 1 comment
Closed

安装了gtoken的时候,编译运行报错 #1359

lala0257 opened this issue Jul 27, 2021 · 1 comment

Comments

@lala0257
Copy link

F:\go-project\src\my-gf>gf run main.go
2021-07-27 17:12:48.683 build: main.go
2021-07-27 17:12:48.751 go build -o bin\main.exe main.go
2021-07-27 17:12:55.163 build error:

github.com/gogf/gf/net/gtrace

....\pkg\mod\github.com\gogf\gf@v1.16.4\net\gtrace\gtrace_baggage.go:40:10: undefined: "go.opentelemetry.io/otel/baggage".ContextWithValues
....\pkg\mod\github.com\gogf\gf@v1.16.4\net\gtrace\gtrace_baggage.go:51:10: undefined: "go.opentelemetry.io/otel/baggage".ContextWithValues
....\pkg\mod\github.com\gogf\gf@v1.16.4\net\gtrace\gtrace_baggage.go:58:9: undefined: "go.opentelemetry.io/otel/baggage".Set
....\pkg\mod\github.com\gogf\gf@v1.16.4\net\gtrace\gtrace_baggage.go:73:11: undefined: "go.opentelemetry.io/otel/baggage".Value
....\pkg\mod\github.com\gogf\gf@v1.16.4\net\gtrace\gtrace_span.go:20:32: cannot use opts (type []trace.SpanOption) as type []trace.SpanStartOption in argument to NewTracer().Tracer.Start
exit status 2

@houseme
Copy link
Member

houseme commented Dec 10, 2021

#1515

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants