This go library contains clients that talk to Istio resources in a Kubernetes cluster.
If you are using go1.11+, you can simply use the following command to get the lastest client code:
go get istio.io/client-go@master
Or if you need to use a specific version of the client code, you can specify a specific version number. For example:
go get istio.io/client-go@release-1.4
The version number matches with official Istio versions for releases 1.4+.