×

golang

对于升级go1.18的goland问题(goland最新版本)

asdas asdas 发表于2024-06-28 浏览11278 评论0
截止目前,go1.18 已经发布了22 天,当前有很多的小伙伴已经在使用最新的版本,尝试着各种解锁新姿势。 但是更新之后,在goland中打开发现全是报错,是不是怀疑自己打开的方式不对? 报错:'main'redeclared as the imported package name 报错:Cannot use 'fmt.Sprintf("xxx:%v" , err)' (type string) as the type any 对于这类完全不知道的新问题,尝试着删除 .idea 文