Skip to content
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.

Go Module friendly #19

Open
millergarym opened this issue Nov 3, 2019 · 9 comments
Open

Go Module friendly #19

millergarym opened this issue Nov 3, 2019 · 9 comments

Comments

@millergarym
Copy link

This "Official Go SDK for Docker" causes an error when using go mod tidy

See PR #18 .

$ go mod tidy
github.com/a/b/c imports
        docker.io/go-docker tested by
        docker.io/go-docker.test imports
        github.com/docker/docker/internal/testutil: module github.com/docker/docker@latest found (v1.13.1), but does not contain package github.com/docker/docker/internal/testutil
@nick4fake
Copy link

Is there anyone maintaining this repository?

@msvechla
Copy link

msvechla commented Jan 5, 2020

I am experiencing the same issue. Looks like #18 is already adressing this.

@msvechla
Copy link

msvechla commented Jan 5, 2020

FYI as a quick fix you can add the following to your go.mod:

replace (
  github.com/docker/docker/internal/testutil => gotest.tools/v3 v3.0.0
)

@cpuguy83
Copy link

cpuguy83 commented Jan 6, 2020

There is no one maintaining this repo. It has been "WIP" for years and has not been touched.

@devinbost
Copy link

NOOOOOOOOO

@devinbost
Copy link

This issue might be related: moby/moby#41191

@maxekman
Copy link

Is there a chance that this will be fixed? Why is no one maintaining the repo? It seems to be an official repo.

@cpuguy83
Copy link

Hate to say never, but no this is not likely to be fixed.
I'm not even sure why the repo was made public.

@cpuguy83
Copy link

The "official" sdk package is github.com/docker/docker/client (which is in github.com/moby/moby).

If you are looking for something more module (and for that matter non-API breaking) friendly, github.com/cpuguy83/go-docker is something I started. It is incomplete but I will take PR's to add missing API calls.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants