DEV Community

deadcheat
deadcheat

Posted on

satori/go.uuid may cause build error for goa application

Today, I released application for my working project to the production. but I got build error like this,

# myapp/vendor/github.com/goadesign/goa/uuid
vendor/github.com/goadesign/goa/uuid/uuid.go:18:23: not enough arguments in call to uuid.Must
    have (uuid.UUID)
    want (uuid.UUID, error)

Luckily, I happend to see talking about same topic on goa-slack-channel, I knew this problem is caused by this issue(Breaking API Change)

Ofcourse they fixed that on master branch.but they've not added release tag yet.
so you will face this problem if you write "glide.yaml" like this.

import:
- package: github.com/goadesign/goa
  version: ^1.3.1
- package: github.com/satori/go.uuid
  version: ^1.2.0

For my application, fix glide.yaml like below.

import:
- package: github.com/goadesign/goa
  version: ^1.3.1
- package: github.com/satori/go.uuid
  version: master

Thanks.

Top comments (0)