Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue using go.uuid in docker container #88

Closed
zachlefevre opened this issue Nov 10, 2018 · 3 comments
Closed

Issue using go.uuid in docker container #88

zachlefevre opened this issue Nov 10, 2018 · 3 comments

Comments

@zachlefevre
Copy link

This line: aggregateID, _ := uuid.NewV4() works perfectly when building on my machine, but I receive the error ./main.go:51:17: assignment mismatch: 2 variables but 1 values when building with the following docker image:

FROM golang:latest as builder
WORKDIR /go/src/github.com/zachlefevre/project_hopper_backend/algorithmAPI
COPY . .
RUN go get -u github.com/golang/dep/cmd/dep
RUN dep init && dep ensure

Any help would be greatly appreciated.

@mdanzinger
Copy link

Offhand it sounds like this may be an issue with dep getting an older version of satori. You may want to open an issue with dep. Migrating over to Go's modules might also solve this.

@ghost
Copy link

ghost commented Nov 19, 2018

#84 Does this happen with the drop in replacement from https://github.com/gofrs/uuid ?

@zachlefevre
Copy link
Author

@DamareYoh It does not. The API is the same across my local instance and docker.

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

No branches or pull requests

2 participants