第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問(wèn)題,去搜搜看,總會(huì)有你想問(wèn)的

Golang 修改導(dǎo)入模塊的名稱失敗

Golang 修改導(dǎo)入模塊的名稱失敗

Go
qq_遁去的一_1 2021-10-18 11:01:32
我正在嘗試讓SkyDNSv1恢復(fù)生機(jī)并從我的 fork 構(gòu)建它(這里是Dockerfile)。SkyDNS 是一款非常優(yōu)秀且簡(jiǎn)單的快速服務(wù)發(fā)現(xiàn)工具,但它已經(jīng)很長(zhǎng)時(shí)間沒(méi)有更新了。構(gòu)建過(guò)程中出現(xiàn)錯(cuò)誤,這是由第三方庫(kù)引起的。我無(wú)法弄清楚為什么會(huì)這樣:$ docker build --no-cache -t skydns1 .Sending build context to Docker daemon 1.566 MBSending build context to Docker daemon Step 0 : FROM golang:1.4.2 ---> 3e8cb8e0c765Step 1 : WORKDIR /go/src ---> Running in 3a06cf460ad9 ---> 1dd14a099164Removing intermediate container 3a06cf460ad9Step 2 : RUN go get github.com/codegangsta/cli ---> Running in eabcfd6fe621 ---> c9ea222f2d74Removing intermediate container eabcfd6fe621Step 3 : RUN go get github.com/vitalyisaev2/skydns1 ---> Running in 3264582b2e7a# github.com/rcrowley/go-metrics/influxdbgithub.com/rcrowley/go-metrics/influxdb/influxdb.go:19: undefined: client.ClientConfiggithub.com/rcrowley/go-metrics/influxdb/influxdb.go:38: undefined: client.Seriesgithub.com/rcrowley/go-metrics/influxdb/influxdb.go:44: undefined: client.Seriesgithub.com/rcrowley/go-metrics/influxdb/influxdb.go:52: undefined: client.Seriesgithub.com/rcrowley/go-metrics/influxdb/influxdb.go:60: undefined: client.Seriesgithub.com/rcrowley/go-metrics/influxdb/influxdb.go:70: undefined: client.Seriesgithub.com/rcrowley/go-metrics/influxdb/influxdb.go:82: undefined: client.Seriesgithub.com/rcrowley/go-metrics/influxdb/influxdb.go:93: undefined: client.Seriesgithub.com/rcrowley/go-metrics/influxdb/influxdb.go:106: client.WriteSeries undefined (type *client.Client has no field or method WriteSeries)INFO[0075] The command [/bin/sh -c go get github.com/vitalyisaev2/skydns1] returned a non-zero code: 但是,如果您查看導(dǎo)致此錯(cuò)誤的文件,您會(huì)注意到 Golang 對(duì)influxdb/client. 我認(rèn)為,編譯器不會(huì)替代進(jìn)口的名字client與influxClient它應(yīng)該做的:package influxdbimport (    "fmt"    influxClient "github.com/influxdb/influxdb/client"    "github.com/rcrowley/go-metrics"    "log"    "time") 可能我只是錯(cuò)過(guò)了一個(gè)明顯的錯(cuò)誤。任何幫助將不勝感激。
查看完整描述

1 回答

  • 1 回答
  • 0 關(guān)注
  • 216 瀏覽
慕課專欄
更多

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)