Preparing report...

Report for github.com/mattes/migrate

A    Great!    Found 44 issues across 68 files

Tweet

gofmt89%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo97%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.

    • migrate/migrate.go
    • Line 393: warning: cyclomatic complexity 22 of function (*Migrate).read() is high (> 15) (gocyclo)
    • Line 505: warning: cyclomatic complexity 19 of function (*Migrate).readUp() is high (> 15) (gocyclo)
    • Line 597: warning: cyclomatic complexity 19 of function (*Migrate).readDown() is high (> 15) (gocyclo)

golint66%

Golint is a linter for Go source code.

    • migrate/database/cassandra/cassandra.go
    • Line 20: warning: exported var DefaultMigrationsTable should have comment or be unexported (golint)
    • Line 24: warning: exported var ErrNilConfig should have comment or be unexported (golint)
    • Line 29: warning: exported type Config should have comment or be unexported (golint)
    • Line 34: warning: exported type Cassandra should have comment or be unexported (golint)
    • Line 42: warning: exported method Cassandra.Open should have comment or be unexported (golint)
    • Line 116: warning: exported method Cassandra.Close should have comment or be unexported (golint)
    • Line 121: warning: exported method Cassandra.Lock should have comment or be unexported (golint)
    • Line 129: warning: exported method Cassandra.Unlock should have comment or be unexported (golint)
    • Line 134: warning: exported method Cassandra.Run should have comment or be unexported (golint)
    • Line 149: warning: exported method Cassandra.SetVersion should have comment or be unexported (golint)
    • Line 164: warning: comment on exported method Cassandra.Version should be of the form "Version ..." (golint)
    • Line 183: warning: exported method Cassandra.Drop should have comment or be unexported (golint)
    • migrate/source/parse.go
    • Line 10: warning: exported var ErrParse should have comment or be unexported (golint)
    • Line 14: warning: exported var DefaultParse should have comment or be unexported (golint)
    • migrate/source/file/file.go
    • Line 19: warning: exported type File should have comment or be unexported (golint)
    • Line 25: warning: exported method File.Open should have comment or be unexported (golint)
    • Line 78: warning: exported method File.Close should have comment or be unexported (golint)
    • Line 83: warning: exported method File.First should have comment or be unexported (golint)
    • Line 86: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 91: warning: exported method File.Prev should have comment or be unexported (golint)
    • Line 94: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 99: warning: exported method File.Next should have comment or be unexported (golint)
    • Line 102: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 107: warning: exported method File.ReadUp should have comment or be unexported (golint)
    • Line 118: warning: exported method File.ReadDown should have comment or be unexported (golint)
    • migrate/source/testing/testing.go
    • Line 29: warning: exported function TestFirst should have comment or be unexported (golint)
    • Line 39: warning: exported function TestPrev should have comment or be unexported (golint)
    • Line 68: warning: exported function TestNext should have comment or be unexported (golint)
    • Line 97: warning: exported function TestReadUp should have comment or be unexported (golint)
    • Line 134: warning: exported function TestReadDown should have comment or be unexported (golint)
    • migrate/database/mysql/mysql.go
    • Line 23: warning: exported var DefaultMigrationsTable should have comment or be unexported (golint)
    • Line 26: warning: exported var ErrDatabaseDirty should have comment or be unexported (golint)
    • Line 32: warning: exported type Config should have comment or be unexported (golint)
    • Line 37: warning: exported type Mysql should have comment or be unexported (golint)
    • Line 44: warning: comment on exported function WithInstance should be of the form "WithInstance ..." (golint)
    • Line 82: warning: exported method Mysql.Open should have comment or be unexported (golint)
    • Line 150: warning: exported method Mysql.Close should have comment or be unexported (golint)
    • Line 154: warning: exported method Mysql.Lock should have comment or be unexported (golint)
    • Line 179: warning: exported method Mysql.Unlock should have comment or be unexported (golint)
    • Line 199: warning: exported method Mysql.Run should have comment or be unexported (golint)
    • Line 213: warning: exported method Mysql.SetVersion should have comment or be unexported (golint)
    • Line 239: warning: exported method Mysql.Version should have comment or be unexported (golint)
    • Line 259: warning: exported method Mysql.Drop should have comment or be unexported (golint)
    • migrate/database/driver.go
    • Line 15: warning: exported var ErrLocked should have comment or be unexported (golint)
    • Line 18: warning: exported const NilVersion should have comment or be unexported (golint)
    • migrate/database/testing/testing.go
    • Line 29: warning: exported function TestNilVersion should have comment or be unexported (golint)
    • Line 39: warning: exported function TestLockAndUnlock should have comment or be unexported (golint)
    • Line 82: warning: exported function TestRun should have comment or be unexported (golint)
    • Line 92: warning: exported function TestDrop should have comment or be unexported (golint)
    • Line 98: warning: exported function TestSetVersion should have comment or be unexported (golint)
    • migrate/database/stub/stub.go
    • Line 15: warning: exported type Stub should have comment or be unexported (golint)
    • Line 27: warning: exported method Stub.Open should have comment or be unexported (golint)
    • Line 36: warning: exported type Config should have comment or be unexported (golint)
    • Line 38: warning: exported function WithInstance should have comment or be unexported (golint)
    • Line 47: warning: exported method Stub.Close should have comment or be unexported (golint)
    • Line 51: warning: exported method Stub.Lock should have comment or be unexported (golint)
    • Line 59: warning: exported method Stub.Unlock should have comment or be unexported (golint)
    • Line 64: warning: exported method Stub.Run should have comment or be unexported (golint)
    • Line 74: warning: exported method Stub.SetVersion should have comment or be unexported (golint)
    • Line 80: warning: exported method Stub.Version should have comment or be unexported (golint)
    • Line 84: warning: exported const DROP should have comment or be unexported (golint)
    • Line 86: warning: exported method Stub.Drop should have comment or be unexported (golint)
    • Line 93: warning: exported method Stub.EqualSequence should have comment or be unexported (golint)
    • migrate/source/github/github.go
    • Line 23: warning: exported var ErrNoUserInfo should have comment or be unexported (golint)
    • Line 30: warning: exported type Github should have comment or be unexported (golint)
    • Line 40: warning: exported type Config should have comment or be unexported (golint)
    • Line 43: warning: exported method Github.Open should have comment or be unexported (golint)
    • Line 87: warning: exported function WithInstance should have comment or be unexported (golint)
    • Line 120: warning: exported method Github.Close should have comment or be unexported (golint)
    • Line 124: warning: exported method Github.First should have comment or be unexported (golint)
    • Line 127: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 132: warning: exported method Github.Prev should have comment or be unexported (golint)
    • Line 135: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 140: warning: exported method Github.Next should have comment or be unexported (golint)
    • Line 143: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 148: warning: exported method Github.ReadUp should have comment or be unexported (golint)
    • Line 165: warning: exported method Github.ReadDown should have comment or be unexported (golint)
    • migrate/migrate.go
    • Line 28: warning: exported var ErrNoChange should have comment or be unexported (golint)
    • Line 45: warning: exported type ErrDirty should have comment or be unexported (golint)
    • Line 53: warning: exported type Migrate should have comment or be unexported (golint)
    • migrate/util.go
    • Line 68: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • migrate/database/clickhouse/clickhouse.go
    • Line 15: warning: exported var DefaultMigrationsTable should have comment or be unexported (golint)
    • Line 17: warning: exported var ErrNilConfig should have comment or be unexported (golint)
    • Line 19: warning: exported type Config should have comment or be unexported (golint)
    • Line 28: warning: exported function WithInstance should have comment or be unexported (golint)
    • Line 49: warning: exported type ClickHouse should have comment or be unexported (golint)
    • Line 54: warning: exported method ClickHouse.Open should have comment or be unexported (golint)
    • Line 95: warning: exported method ClickHouse.Run should have comment or be unexported (golint)
    • Line 106: warning: exported method ClickHouse.Version should have comment or be unexported (golint)
    • Line 121: warning: exported method ClickHouse.SetVersion should have comment or be unexported (golint)
    • Line 170: warning: exported method ClickHouse.Drop should have comment or be unexported (golint)
    • Line 194: warning: exported method ClickHouse.Lock should have comment or be unexported (golint)
    • Line 195: warning: exported method ClickHouse.Unlock should have comment or be unexported (golint)
    • Line 196: warning: exported method ClickHouse.Close should have comment or be unexported (golint)
    • migrate/database/postgres/postgres.go
    • Line 21: warning: exported var DefaultMigrationsTable should have comment or be unexported (golint)
    • Line 24: warning: exported var ErrNilConfig should have comment or be unexported (golint)
    • Line 30: warning: exported type Config should have comment or be unexported (golint)
    • Line 35: warning: exported type Postgres should have comment or be unexported (golint)
    • Line 43: warning: exported function WithInstance should have comment or be unexported (golint)
    • Line 80: warning: exported method Postgres.Open should have comment or be unexported (golint)
    • Line 107: warning: exported method Postgres.Close should have comment or be unexported (golint)
    • Line 111: warning: comment on exported method Postgres.Lock should be of the form "Lock ..." (golint)
    • Line 138: warning: exported method Postgres.Unlock should have comment or be unexported (golint)
    • Line 156: warning: exported method Postgres.Run should have comment or be unexported (golint)
    • Line 172: warning: exported method Postgres.SetVersion should have comment or be unexported (golint)
    • Line 199: warning: exported method Postgres.Version should have comment or be unexported (golint)
    • Line 219: warning: exported method Postgres.Drop should have comment or be unexported (golint)
    • migrate/source/migration.go
    • Line 11: warning: exported const Down should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: exported function NewMigrations should have comment or be unexported (golint)
    • Line 48: warning: exported method Migrations.Append should have comment or be unexported (golint)
    • Line 70: warning: should omit 2nd value from range; this loop is equivalent to `for version := range ...` (golint)
    • Line 76: warning: exported method Migrations.First should have comment or be unexported (golint)
    • Line 83: warning: exported method Migrations.Prev should have comment or be unexported (golint)
    • Line 91: warning: exported method Migrations.Next should have comment or be unexported (golint)
    • Line 99: warning: exported method Migrations.Up should have comment or be unexported (golint)
    • Line 108: warning: exported method Migrations.Down should have comment or be unexported (golint)
    • migrate/database/sqlite3/sqlite3.go
    • Line 8: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 19: warning: exported var DefaultMigrationsTable should have comment or be unexported (golint)
    • Line 21: warning: exported var ErrDatabaseDirty should have comment or be unexported (golint)
    • Line 26: warning: exported type Config should have comment or be unexported (golint)
    • Line 31: warning: exported type Sqlite should have comment or be unexported (golint)
    • Line 38: warning: exported function WithInstance should have comment or be unexported (golint)
    • Line 73: warning: exported method Sqlite.Open should have comment or be unexported (golint)
    • Line 98: warning: exported method Sqlite.Close should have comment or be unexported (golint)
    • Line 102: warning: exported method Sqlite.Drop should have comment or be unexported (golint)
    • Line 140: warning: exported method Sqlite.Lock should have comment or be unexported (golint)
    • Line 148: warning: exported method Sqlite.Unlock should have comment or be unexported (golint)
    • Line 156: warning: exported method Sqlite.Run should have comment or be unexported (golint)
    • Line 181: warning: exported method Sqlite.SetVersion should have comment or be unexported (golint)
    • Line 207: warning: exported method Sqlite.Version should have comment or be unexported (golint)
    • migrate/database/ql/ql.go
    • Line 12: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 21: warning: exported var DefaultMigrationsTable should have comment or be unexported (golint)
    • Line 23: warning: exported var ErrDatabaseDirty should have comment or be unexported (golint)
    • Line 29: warning: exported type Config should have comment or be unexported (golint)
    • Line 34: warning: exported type Ql should have comment or be unexported (golint)
    • Line 41: warning: exported function WithInstance should have comment or be unexported (golint)
    • Line 82: warning: exported method Ql.Open should have comment or be unexported (golint)
    • Line 105: warning: exported method Ql.Close should have comment or be unexported (golint)
    • Line 108: warning: exported method Ql.Drop should have comment or be unexported (golint)
    • Line 142: warning: exported method Ql.Lock should have comment or be unexported (golint)
    • Line 149: warning: exported method Ql.Unlock should have comment or be unexported (golint)
    • Line 156: warning: exported method Ql.Run should have comment or be unexported (golint)
    • Line 179: warning: exported method Ql.SetVersion should have comment or be unexported (golint)
    • Line 205: warning: exported method Ql.Version should have comment or be unexported (golint)
    • migrate/testing/testing.go
    • Line 13: warning: exported type IsReadyFunc should have comment or be unexported (golint)
    • Line 15: warning: exported type TestFunc should have comment or be unexported (golint)
    • Line 17: warning: exported type Version should have comment or be unexported (golint)
    • Line 23: warning: exported function ParallelTest should have comment or be unexported (golint)
    • Line 90: warning: exported type Instance should have comment or be unexported (golint)
    • migrate/database/util.go
    • Line 10: warning: comment on exported function GenerateAdvisoryLockId should be of the form "GenerateAdvisoryLockId ..." (golint)
    • migrate/database/cockroachdb/cockroachdb.go
    • Line 26: warning: exported var DefaultMigrationsTable should have comment or be unexported (golint)
    • Line 27: warning: exported var DefaultLockTable should have comment or be unexported (golint)
    • Line 30: warning: exported var ErrNilConfig should have comment or be unexported (golint)
    • Line 34: warning: exported type Config should have comment or be unexported (golint)
    • Line 41: warning: exported type CockroachDb should have comment or be unexported (golint)
    • Line 49: warning: exported function WithInstance should have comment or be unexported (golint)
    • Line 94: warning: exported method CockroachDb.Open should have comment or be unexported (golint)
    • Line 139: warning: exported method CockroachDb.Close should have comment or be unexported (golint)
    • Line 143: warning: comment on exported method CockroachDb.Lock should be of the form "Lock ..." (golint)
    • Line 175: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 181: warning: comment on exported method CockroachDb.Unlock should be of the form "Unlock ..." (golint)
    • Line 209: warning: exported method CockroachDb.Run should have comment or be unexported (golint)
    • Line 224: warning: exported method CockroachDb.SetVersion should have comment or be unexported (golint)
    • Line 240: warning: exported method CockroachDb.Version should have comment or be unexported (golint)
    • Line 263: warning: exported method CockroachDb.Drop should have comment or be unexported (golint)
    • migrate/cli/log.go
    • Line 9: warning: exported type Log should have comment or be unexported (golint)
    • Line 13: warning: exported method Log.Printf should have comment or be unexported (golint)
    • Line 21: warning: exported method Log.Println should have comment or be unexported (golint)
    • Line 29: warning: exported method Log.Verbose should have comment or be unexported (golint)
    • migrate/source/stub/stub.go
    • Line 17: warning: exported type Config should have comment or be unexported (golint)
    • Line 22: warning: exported type Stub should have comment or be unexported (golint)
    • Line 29: warning: exported method Stub.Open should have comment or be unexported (golint)
    • Line 37: warning: exported function WithInstance should have comment or be unexported (golint)
    • Line 45: warning: exported method Stub.Close should have comment or be unexported (golint)
    • Line 49: warning: exported method Stub.First should have comment or be unexported (golint)
    • Line 52: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 57: warning: exported method Stub.Prev should have comment or be unexported (golint)
    • Line 60: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 65: warning: exported method Stub.Next should have comment or be unexported (golint)
    • Line 68: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 73: warning: exported method Stub.ReadUp should have comment or be unexported (golint)
    • Line 80: warning: exported method Stub.ReadDown should have comment or be unexported (golint)
    • migrate/testing/docker.go
    • Line 21: warning: exported function NewDockerContainer should have comment or be unexported (golint)
    • Line 64: warning: exported method DockerContainer.PullImage should have comment or be unexported (golint)
    • Line 86: warning: exported method DockerContainer.Start should have comment or be unexported (golint)
    • Line 121: warning: exported method DockerContainer.KeepForDebugging should have comment or be unexported (golint)
    • Line 125: warning: exported method DockerContainer.Remove should have comment or be unexported (golint)
    • Line 144: warning: exported method DockerContainer.Inspect should have comment or be unexported (golint)
    • Line 158: warning: exported method DockerContainer.Logs should have comment or be unexported (golint)
    • Line 194: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 199: warning: exported method DockerContainer.Host should have comment or be unexported (golint)
    • Line 207: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 212: warning: exported method DockerContainer.Port should have comment or be unexported (golint)
    • Line 220: warning: exported method DockerContainer.PortFor should have comment or be unexported (golint)
    • Line 228: warning: exported method DockerContainer.NetworkSettings should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign47%

IneffAssign detects ineffectual assignments in Go code.

    • migrate/source/stub/stub.go
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: could not import github.com/mattes/migrate/source (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/mattes/migrate/source (invalid package name: "") (ineffassign)
    • migrate/database/postgres/postgres.go
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: could not import github.com/lib/pq (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/mattes/migrate (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/mattes/migrate/database (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/lib/pq (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/mattes/migrate (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/mattes/migrate/database (invalid package name: "") (ineffassign)
    • migrate/database/cockroachdb/cockroachdb.go
    • Line 10: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 10: warning: could not import github.com/cockroachdb/cockroach-go/crdb (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/lib/pq (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/mattes/migrate (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/mattes/migrate/database (invalid package name: "") (ineffassign)
    • Line 10: warning: could not import github.com/cockroachdb/cockroach-go/crdb (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/lib/pq (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/mattes/migrate (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/mattes/migrate/database (invalid package name: "") (ineffassign)
    • migrate/database/ql/ql.go
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 14: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: could not import github.com/cznic/ql/driver (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/mattes/migrate (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/mattes/migrate/database (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/cznic/ql/driver (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/mattes/migrate (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/mattes/migrate/database (invalid package name: "") (ineffassign)
    • migrate/database/cassandra/cassandra_test.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/mattes/migrate/database/testing (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/mattes/migrate/testing (invalid package name: "") (ineffassign)
    • migrate/source/google-cloud-storage/storage_test.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/fsouza/fake-gcs-server/fakestorage (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/mattes/migrate/source/testing (invalid package name: "") (ineffassign)
    • migrate/database/redshift/redshift.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/mattes/migrate/database (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/mattes/migrate/database/postgres (invalid package name: "") (ineffassign)
    • migrate/database/sqlite3/sqlite3.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/mattes/migrate (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/mattes/migrate/database (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/mattn/go-sqlite3 (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/mattes/migrate (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/mattes/migrate/database (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/mattn/go-sqlite3 (invalid package name: "") (ineffassign)
    • migrate/database/sqlite3/sqlite3_test.go
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: could not import github.com/mattes/migrate/database/testing (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/mattes/migrate/source/file (invalid package name: "") (ineffassign)
    • migrate/database/cassandra/cassandra.go
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: could not import github.com/gocql/gocql (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/mattes/migrate/database (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/gocql/gocql (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/mattes/migrate/database (invalid package name: "") (ineffassign)
    • migrate/source/google-cloud-storage/storage.go
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 14: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: could not import cloud.google.com/go/storage (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/mattes/migrate/source (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import golang.org/x/net/context (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import google.golang.org/api/iterator (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import cloud.google.com/go/storage (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/mattes/migrate/source (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import golang.org/x/net/context (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import google.golang.org/api/iterator (invalid package name: "") (ineffassign)
    • migrate/migrate_test.go
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: could not import github.com/mattes/migrate/database/stub (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/mattes/migrate/source/stub (invalid package name: "") (ineffassign)
    • migrate/database/mysql/mysql.go
    • Line 14: warning: cannot find package "." in: (ineffassign)
    • Line 15: warning: cannot find package "." in: (ineffassign)
    • Line 16: warning: cannot find package "." in: (ineffassign)
    • Line 14: warning: could not import github.com/go-sql-driver/mysql (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import github.com/mattes/migrate (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import github.com/mattes/migrate/database (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/go-sql-driver/mysql (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import github.com/mattes/migrate (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import github.com/mattes/migrate/database (invalid package name: "") (ineffassign)
    • migrate/database/cockroachdb/cockroachdb_test.go
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 14: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: could not import github.com/mattes/migrate/database/testing (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/mattes/migrate/testing (invalid package name: "") (ineffassign)
    • migrate/database/mysql/mysql_test.go
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: could not import github.com/mattes/migrate/database/testing (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/mattes/migrate/testing (invalid package name: "") (ineffassign)
    • migrate/testing/docker.go
    • Line 15: warning: cannot find package "." in: (ineffassign)
    • Line 16: warning: cannot find package "." in: (ineffassign)
    • Line 17: warning: cannot find package "." in: (ineffassign)
    • Line 18: warning: cannot find package "." in: (ineffassign)
    • Line 15: warning: could not import github.com/docker/docker/api/types (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import github.com/docker/docker/api/types/container (invalid package name: "") (ineffassign)
    • Line 17: warning: could not import github.com/docker/docker/api/types/network (invalid package name: "") (ineffassign)
    • Line 18: warning: could not import github.com/docker/docker/client (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import github.com/docker/docker/api/types (invalid package name: "") (ineffassign)
    • Line 16: warning: could not import github.com/docker/docker/api/types/container (invalid package name: "") (ineffassign)
    • Line 17: warning: could not import github.com/docker/docker/api/types/network (invalid package name: "") (ineffassign)
    • Line 18: warning: could not import github.com/docker/docker/client (invalid package name: "") (ineffassign)
    • migrate/database/clickhouse/clickhouse.go
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: could not import github.com/mattes/migrate (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/mattes/migrate/database (invalid package name: "") (ineffassign)
    • migrate/database/spanner/spanner.go
    • Line 14: warning: cannot find package "." in: (ineffassign)
    • Line 15: warning: cannot find package "." in: (ineffassign)
    • Line 17: warning: cannot find package "." in: (ineffassign)
    • Line 18: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 20: warning: cannot find package "." in: (ineffassign)
    • Line 21: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: could not import golang.org/x/net/context (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import cloud.google.com/go/spanner (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import cloud.google.com/go/spanner/admin/database/apiv1 (invalid package name: "") (ineffassign)
    • Line 17: warning: could not import github.com/mattes/migrate (invalid package name: "") (ineffassign)
    • Line 18: warning: could not import github.com/mattes/migrate/database (invalid package name: "") (ineffassign)
    • Line 20: warning: could not import google.golang.org/api/iterator (invalid package name: "") (ineffassign)
    • Line 21: warning: could not import google.golang.org/genproto/googleapis/spanner/admin/database/v1 (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import golang.org/x/net/context (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import cloud.google.com/go/spanner (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import cloud.google.com/go/spanner/admin/database/apiv1 (invalid package name: "") (ineffassign)
    • Line 17: warning: could not import github.com/mattes/migrate (invalid package name: "") (ineffassign)
    • Line 18: warning: could not import github.com/mattes/migrate/database (invalid package name: "") (ineffassign)
    • Line 20: warning: could not import google.golang.org/api/iterator (invalid package name: "") (ineffassign)
    • Line 21: warning: could not import google.golang.org/genproto/googleapis/spanner/admin/database/v1 (invalid package name: "") (ineffassign)
    • migrate/database/postgres/postgres_test.go
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 14: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: could not import github.com/mattes/migrate/database/testing (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/mattes/migrate/testing (invalid package name: "") (ineffassign)
    • migrate/source/aws-s3/s3.go
    • Line 11: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 14: warning: cannot find package "." in: (ineffassign)
    • Line 15: warning: cannot find package "." in: (ineffassign)
    • Line 11: warning: could not import github.com/aws/aws-sdk-go/aws (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/aws/aws-sdk-go/aws/session (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/aws/aws-sdk-go/service/s3 (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/aws/aws-sdk-go/service/s3/s3iface (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import github.com/mattes/migrate/source (invalid package name: "") (ineffassign)
    • Line 11: warning: could not import github.com/aws/aws-sdk-go/aws (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/aws/aws-sdk-go/aws/session (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/aws/aws-sdk-go/service/s3 (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/aws/aws-sdk-go/service/s3/s3iface (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import github.com/mattes/migrate/source (invalid package name: "") (ineffassign)
    • migrate/source/github/github.go
    • Line 14: warning: cannot find package "." in: (ineffassign)
    • Line 15: warning: cannot find package "." in: (ineffassign)
    • Line 14: warning: could not import github.com/google/go-github/github (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import github.com/mattes/migrate/source (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/google/go-github/github (invalid package name: "") (ineffassign)
    • Line 15: warning: could not import github.com/mattes/migrate/source (invalid package name: "") (ineffassign)
    • migrate/source/go-bindata/go-bindata_test.go
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 7: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: could not import github.com/mattes/migrate/source/go-bindata/testdata (invalid package name: "") (ineffassign)
    • Line 7: warning: could not import github.com/mattes/migrate/source/testing (invalid package name: "") (ineffassign)
    • Line 12: warning: undeclared name: Resource (ineffassign)
    • Line 17: warning: undeclared name: WithInstance (ineffassign)
    • Line 26: warning: undeclared name: Resource (ineffassign)
    • Line 31: warning: undeclared name: WithInstance (ineffassign)
    • Line 38: warning: undeclared name: Bindata (ineffassign)
    • migrate/database/ql/ql_test.go
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 14: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: could not import github.com/mattes/migrate/database/testing (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/mattes/migrate/source/file (invalid package name: "") (ineffassign)
    • migrate/migrate.go
    • Line 13: warning: cannot find package "." in: (ineffassign)
    • Line 14: warning: cannot find package "." in: (ineffassign)
    • Line 13: warning: could not import github.com/mattes/migrate/database (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/mattes/migrate/source (invalid package name: "") (ineffassign)
    • Line 13: warning: could not import github.com/mattes/migrate/database (invalid package name: "") (ineffassign)
    • Line 14: warning: could not import github.com/mattes/migrate/source (invalid package name: "") (ineffassign)
    • migrate/source/file/file.go
    • Line 12: warning: cannot find package "." in: (ineffassign)
    • Line 12: warning: could not import github.com/mattes/migrate/source (invalid package name: "") (ineffassign)
    • Line 12: warning: could not import github.com/mattes/migrate/source (invalid package name: "") (ineffassign)
    • migrate/cli/commands.go
    • Line 4: warning: cannot find package "." in: (ineffassign)
    • Line 5: warning: cannot find package "." in: (ineffassign)
    • Line 6: warning: cannot find package "." in: (ineffassign)
    • Line 4: warning: could not import github.com/mattes/migrate (invalid package name: "") (ineffassign)
    • Line 5: warning: could not import github.com/mattes/migrate/database/stub (invalid package name: "") (ineffassign)
    • Line 6: warning: could not import github.com/mattes/migrate/source/file (invalid package name: "") (ineffassign)
    • migrate/database/stub/stub.go
    • Line 8: warning: cannot find package "." in: (ineffassign)
    • Line 8: warning: could not import github.com/mattes/migrate/database (invalid package name: "") (ineffassign)
    • Line 8: warning: could not import github.com/mattes/migrate/database (invalid package name: "") (ineffassign)

misspell95%

Misspell Finds commonly misspelled English words