Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Trouble installing cli for postgres #67

@aebie

Description

@aebie

I am trying to try out the migrate CLI, and am running into a problem with the installation steps in the README. I run these commands:

$ go get -u -d github.com/golang-migrate/migrate/cli github.com/lib/pq
$ go build -tags 'postgres' -o /usr/local/bin/migrate github.com/golang-migrate/migrate/cli
go build github.com/golang-migrate/migrate/database/postgres: no buildable Go source files in {GOPATH}/src/github.com/golang-migrate/migrate/database/postgres

If I run the go build with a tag other than postgres it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions