Closed
Description
Describe the Bug
golang-migrate no longer builds in Go 1.15 due to the addition of io/fs
, imported via tests.
Steps to Reproduce
Steps to reproduce the behavior:
Add v4.14.0 to the project, then run go mod tidy
. I get:
github.com/hortbot/hortbot/internal/db/migrations imports
github.com/golang-migrate/migrate/v4/database/postgres tested by
github.com/golang-migrate/migrate/v4/database/postgres.test imports
github.com/golang-migrate/migrate/v4/source/file imports
github.com/golang-migrate/migrate/v4/source/iofs imports
io/fs: package io/fs is not in GOROOT (/usr/lib/go/src/io/fs)
github.com/hortbot/hortbot/internal/db/migrations imports
github.com/golang-migrate/migrate/v4/database/postgres tested by
github.com/golang-migrate/migrate/v4/database/postgres.test imports
github.com/golang-migrate/migrate/v4/source/file imports
github.com/golang-migrate/migrate/v4/source/iofs tested by
github.com/golang-migrate/migrate/v4/source/iofs.test imports
embed: package embed is not in GOROOT (/usr/lib/go/src/embed)
Expected Behavior
No output.
Migrate Version
v4.14.0
Loaded Source Drivers
N/A
Loaded Database Drivers
N/A
Go Version
go version go1.15.5 linux/amd64
Stacktrace
N/A
Additional context
N/A
Metadata
Metadata
Assignees
Labels
No labels