MCPcopy
hub / github.com/rubenv/sql-migrate / EmbedFileSystemMigrationSource

Struct EmbedFileSystemMigrationSource

migrate.go:348–352  ·  view source on GitHub ↗

A set of migrations loaded from an go1.16 embed.FS

Source from the content-addressed store, hash-verified

346
347// A set of migrations loaded from an go1.16 embed.FS
348type EmbedFileSystemMigrationSource struct {
349 FileSystem embed.FS
350
351 Root string
352}
353
354var _ MigrationSource = (*EmbedFileSystemMigrationSource)(nil)
355

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected