We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
#1413
Go
go version go1.17.1 linux/amd64
GoFrame
v1.16.6
yes
Follow this tutorial, I create a new project:
$ wget -O gf https://github.com/gogf/gf-cli/releases/download/v1.17.0/gf_linux_amd64 && chmod +x gf && ./gf install (...) $ gf version GoFrame CLI Tool v1.17.0, https://goframe.org GoFrame Version: cannot find go.mod CLI Installed At: /home/sbchild/.local/bin/gf CLI Built Detail: Go Version: go1.16.3 GF Version: v1.16.4 Git Commit: 971ed46f0b9d4dfebd1907cd3ed851cf9e1a5503 Build Time: 2021-08-10 10:22:59 $ gf init . initializing... initialization done! you can now run 'gf run main.go' to start your journey, enjoy! $ go get -v -u all go: downloading go.opentelemetry.io/otel/oteltest v1.0.0-RC2 go: downloading github.com/davecgh/go-spew v1.1.0 go: downloading go.opentelemetry.io/otel/oteltest v1.0.0-RC3 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c (...) golang.org/x/text/internal/language # github.com/gogf/gf/net/ghttp/internal/client ../go/pkg/mod/github.com/gogf/[email protected]/net/ghttp/internal/client/client_tracing.go:73:3: undefined: attribute.Any ../go/pkg/mod/github.com/gogf/[email protected]/net/ghttp/internal/client/client_tracing_tracer.go:150:3: undefined: attribute.Any ../go/pkg/mod/github.com/gogf/[email protected]/net/ghttp/internal/client/client_tracing_tracer.go:151:3: undefined: attribute.Any golang.org/x/text/unicode/norm (...) $ go mod tidy $ gf run main.go 2021-09-23 19:45:15.638 build: main.go 2021-09-23 19:45:15.638 go build -o bin/main main.go 2021-09-23 19:45:15.822 build error: # github.com/gogf/gf/net/ghttp/internal/client ../go/pkg/mod/github.com/gogf/[email protected]/net/ghttp/internal/client/client_tracing.go:73:3: undefined: attribute.Any ../go/pkg/mod/github.com/gogf/[email protected]/net/ghttp/internal/client/client_tracing_tracer.go:150:3: undefined: attribute.Any ../go/pkg/mod/github.com/gogf/[email protected]/net/ghttp/internal/client/client_tracing_tracer.go:151:3: undefined: attribute.Any exit status 2 $ go run main.go # github.com/gogf/gf/net/ghttp/internal/client ../go/pkg/mod/github.com/gogf/[email protected]/net/ghttp/internal/client/client_tracing.go:73:3: undefined: attribute.Any ../go/pkg/mod/github.com/gogf/[email protected]/net/ghttp/internal/client/client_tracing_tracer.go:150:3: undefined: attribute.Any ../go/pkg/mod/github.com/gogf/[email protected]/net/ghttp/internal/client/client_tracing_tracer.go:151:3: undefined: attribute.Any
This project can run successfully
Can't compile this project with some errors
The text was updated successfully, but these errors were encountered:
Use the latest master branch or wait for the latest release
Sorry, something went wrong.
#1515
No branches or pull requests
#1413
1. What version of
Go
and system type/arch are you using?go version go1.17.1 linux/amd64
2. What version of
GoFrame
are you using?v1.16.6
3. Can this issue be re-produced with the latest release?
yes
4. What did you do?
Follow this tutorial, I create a new project:
5. What did you expect to see?
This project can run successfully
6. What did you see instead?
Can't compile this project with some errors
The text was updated successfully, but these errors were encountered: