dcron icon indicating copy to clipboard operation
dcron copied to clipboard

不支持go1.20 21吗?

Open timeisgoing opened this issue 2 years ago • 1 comments

github.com/libi/dcron/dlog

vendor/github.com/libi/dcron/dlog/logger.go:8:20: undefined: any vendor/github.com/libi/dcron/dlog/logger.go:12:18: undefined: any vendor/github.com/libi/dcron/dlog/logger.go:17:19: undefined: any vendor/github.com/libi/dcron/dlog/logger.go:18:19: undefined: any vendor/github.com/libi/dcron/dlog/logger.go:19:20: undefined: any vendor/github.com/libi/dcron/dlog/logger.go:27:50: undefined: any vendor/github.com/libi/dcron/dlog/logger.go:34:50: undefined: any vendor/github.com/libi/dcron/dlog/logger.go:38:51: undefined: any vendor/github.com/libi/dcron/dlog/logger.go:42:51: undefined: any vendor/github.com/libi/dcron/dlog/logger.go:50:65: undefined: any vendor/github.com/libi/dcron/dlog/logger.go:50:65: too many errors note: module requires Go 1.19

timeisgoing avatar May 10 '24 12:05 timeisgoing

请问是在项目里面使用了go vendor嘛,这看起来像是你们项目的go.mod里面限定的version版本太低了欸,这里说的是识别不出any, any这个字段是1.18之后有的

dxyinme avatar May 13 '24 05:05 dxyinme