2018-03-19 02:52
浏览 79


I am following this tutorial to publish a topic to Pub/Sub from a golang project and here's the code I have for that project at the moment:

package main

import ""
import "fmt"

func main() {
    fmt.Printf("hello, world

All it does is simply imports the pubsub but when I run go get I get this error: undefined: ocgrpc.NewClientStatsHandler

aguibihab\golang-playarea\src\gcloud>go get
..\..\..\..\..\\go\pubsub\go18.go:34:51: undefined: ocgrpc.NewClientStatsHandler

Is there anything else I need to install to get this running?

2条回答 默认 最新

相关推荐 更多相似问题