加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

golang 中的包冲突

发布时间:2020-12-16 18:22:11 所属栏目:大数据 来源:网络整理
导读:1."github.com/satori/go.uuid" 与"github.com/go-sql-driver/mysql" 冲突,冲突的结果为: panic: interface conversion: *net.IPAddr is not net.sockaddr: missing method sockaddrgoroutine 1 [running]:plugin.lastmoduleinit(0x1eab760,0xc42000e0e0,0

1."github.com/satori/go.uuid" 与"github.com/go-sql-driver/mysql" 冲突,冲突的结果为:

panic: interface conversion: *net.IPAddr is not net.sockaddr: missing method sockaddr

goroutine 1 [running]:
plugin.lastmoduleinit(0x1eab760,0xc42000e0e0,0x1eac7e0,0x36,0x960620)
        /usr/local/go/src/runtime/plugin.go:60 +0x438
plugin.open(0x7ffdbb866672,0x0,0x0)
        /usr/local/go/src/plugin/plugin_dlopen.go:113 +0x23a
plugin.Open(0x7ffdbb866672,0x2,0xc42001a180,0x37)
        /usr/local/go/src/plugin/plugin.go:31 +0x35
main.scheduler(0xc4200ce000,0x5b,0x80,0x1,0x7ffdbb866672,0x66060b,0x3,0x7ffdbb86663e,0x30,...)
        /home/flyread/gopath/src/com/flyread/lcspeta/scheduler.go:27 +0x149
main.MapperScheduler(0xc4200ce000,...)
        /home/flyread/gopath/src/com/flyread/lcspeta/scheduler.go:15 +0xbc
main.mapperFunc(0x7ffdbb866672,0x7ffdbb8665fe,0x38,0xc42001c090,...)
        /home/flyread/gopath/src/com/flyread/lcspeta/main.go:174 +0x124
main.main()
        /home/flyread/gopath/src/com/flyread/lcspeta/main.go:67 +0x4a5

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读