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

warning: failed to evaluate const trackerLength #1922

Open
cometstone opened this issue Nov 4, 2024 · 1 comment
Open

warning: failed to evaluate const trackerLength #1922

cometstone opened this issue Nov 4, 2024 · 1 comment

Comments

@cometstone
Copy link

Describe the bug
warning: failed to evaluate const trackerLength at /Users/liaoxinlei/go/pkg/mod/github.com/go-ping/ping@v1.1.0/ping.go:77:2, reflect: call of reflect.Value.Len on zero Value

To Reproduce
Steps to reproduce the behavior:

  1. swag init --parseDependency --parseDepth=6 --exclude=./copy
  2. Generate swagger docs....
    Generate general API Info, search dir:./
    warning: failed to evaluate const trackerLength at /Users/xxx/go/pkg/mod/github.com/go-ping/ping@v1.1.0/ping.go:77:2, reflect: call of reflect.Value.Len on zero Value

Your swag version
swag version v1.16.4

Your go version
go version go1.23.2 darwin/amd64

Desktop (please complete the following information):

  • OS: iOS
@sdghchj
Copy link
Member

sdghchj commented Nov 19, 2024

Ignore it.

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