Go的Docker远程API v1.24库?

Hi is there any library that I can use for example to use the Types existing in Docker Remote API v1.24, for example I have this function that returns a service type

func GetServices() docker.Services {
    res, _ := client.Get("https:10.0.1.10:2376/services") // client previously created
    js, _ := ioutil.ReadAll(res.Body)
    var Services docker.Services

    _ = json.Unmarshal(js, &Services)
    return Services
}

here I am assuming that there exists a library docker that contains these types, and this what I need can any one help? previously I used go-dockerclient

You can use the official docker API client:

https://github.com/docker/engine-api

For instance, here's how you would retrieve the list of services using this library.