APIPark icon indicating copy to clipboard operation
APIPark copied to clipboard

bug: 本地无法运行代码,很多包依赖版本错误

Open lotusdong opened this issue 5 months ago • 0 comments

Current Behavior

go.mod 里面,github.com/eolinker/go-common版本是 v1.1.7,但是github.com/eolinker/[email protected]的access并没有Desc的成员变量,只有在低版本的代码中才有

github.com/APIParkLab/APIPark

./initialization.go:121:4: unknown field Desc in struct literal of type "github.com/eolinker/go-common/access".Access ./initialization.go:180:14: a.Desc undefined (type "github.com/eolinker/go-common/access".Access has no field or method Desc) ./initialization.go:182:34: a.Desc undefined (type "github.com/eolinker/go-common/access".Access has no field or method Desc)

Expected Behavior

No response

Error Logs

No response

Steps to Reproduce

No response

Environment

  • ApiPark version:
  • Operating system (run uname -a):

lotusdong avatar Jul 22 '25 10:07 lotusdong