Migrate: Getting error - "no buildable Go source files" in golang-migrate/migrate/database/postgres

Created on 27 Jun 2018  路  3Comments  路  Source: golang-migrate/migrate

I have included "github.com/golang-migrate/migrate" in Gopkg.toml but strangely getting this error on build.

Most helpful comment

I opened a similar issue today and it was caused by my go version of 1.8. the postgres.go file required go 1.9

All 3 comments

I opened a similar issue today and it was caused by my go version of 1.8. the postgres.go file required go 1.9

@aayush2610 how are you building your project or the CLI?

For reference, here's @aebie's issue: https://github.com/golang-migrate/migrate/issues/67

Thanks @aebie and @dhui this helps!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chrism00ch picture chrism00ch  路  3Comments

jon-whit picture jon-whit  路  4Comments

aronhoyer picture aronhoyer  路  4Comments

dcormier picture dcormier  路  6Comments

dhui picture dhui  路  4Comments