0
点赞
收藏
分享

微信扫一扫

go log/slog: package log/slog is not in GOROOT

eelq 2024-01-30 阅读 10

安装 iris v12版本需要 Golang >= 1.21

go get github.com/kataras/iris/v12@latest

github.com/kataras/iris/v12 imports
        github.com/kataras/golog imports
        log/slog: package log/slog is not in GOROOT (/usr/local/go/src/log/slog)

参考链接:https://go.dev/doc/go1.21#slog image.png

举报

相关推荐

0 条评论