The text was updated successfully, but these errors were encountered: ?? 9, [BUG] go get -u and go build fail with undefined : resolver.BuildOption #1655. Closed dwschulze opened this issue May 21, 2020 · 4 comments Closed … you can replace grpc to v1.26+ or replace etcd to v3.3.4+incompatible in go .mod file, like this, go build fails : runtime/mstkbar. go :151:10: debug.gcstackbarrieroff undefined 0 Cannot call GetState right after GetQueryResult(queryString) on Hyperledger Fabric Chaincode, Go ?? etcd /clientv3??? etcd undefined: resolver.BuildOption. ?????? DevOps,?????,????,Python,Golang???,?????. ?? ?? Linux Kubernetes Golang Istio???? ??. Go ?? etcd /clientv3??? etcd undefined: resolver.BuildOption 2020?3?2? …
3/6/2020 · go . etcd .io/ etcd v0.5.0-alpha.5.0.20200306183522-221f0cc107cb in go .mod parlance. Given that etcd ‘s go modules are totally broken anyway, we’ll likely still have to import commit hashes directly, but at least they’ll be pointing at a tagged release that can be matched to etcd server deployment.
And I also noticed that the go .mod file is not following Semantic Import Versioning so I cannot use clientv3 with the go .mod file at all. Copy link tangname commented Mar 21, 2020, The text was updated successfully, but these errors were encountered:, eddycjy changed the title grpc- go (v1.27.0) made API changes to balancer / resolver. clientv3: grpc- go (v1.27.0) made API changes to balancer / resolver. Jan 29, 2020, go 1.15 create a go module. mkdir test && cd test && go mod init test go get go . etcd .io/ etcd /clientv3 $ go get go . etcd .io/ etcd /clientv3 go : found go . etcd .io/ etcd /clientv3 in go . etcd .io/ etcd v3.3.25+incompatible go : finding module for pac…
I just had the same problem in GoLand (which is Intellij IDEA for Go ) and worked out a solution. You need to change the Run kind from File to Package or Directory.You can choose this from a drop-down if you go into Run/Edit Configurations.. Eg: for package ~/ go /src/a_package, use a Package path of a_package and a Directory of ~/ go /src/a_package and Run kind of Package or Directory.