Is there an example for golang with ```go get```?
I have run
go get github.com/figroc/tensorflow-serving-client@v2
, then what should I do ?
There is a test in tests/go/. You might check it out.
Hi, I'm creating a go program and want to use your module. I've done "go get" and "go mod download" and in the code:
import (
"github.com/figroc/tensorflow-serving-client"
)
But I get this error:
no required module provides package github.com/figroc/tensorflow-serving-client; to add it:
go get github.com/figroc/tensorflow-serving-client
Obviusly already done "get" and the sorces have been downloaded ... what shoudl I do?
Wow... I somehow solved. First the package was wrong, I had to import the specific package and not only the module (and this is obvious - my fault), so something like this:
import (
tfs "github.com/figroc/tensorflow-serving-client/v2/go/tensorflow_serving/apis"
)
Note that "v2" on the path is necessary otherwise the version "v2.1.0+incompatible" would be loaded instead of the latest "v2.5.1"... and in the "v2.1.0" there's no "go" subdir so no package to find