Migrations from a bindata asset set.
| 302 | |
| 303 | // Migrations from a bindata asset set. |
| 304 | type AssetMigrationSource struct { |
| 305 | // Asset should return content of file in path if exists |
| 306 | Asset func(path string) ([]byte, error) |
| 307 | |
| 308 | // AssetDir should return list of files in the path |
| 309 | AssetDir func(path string) ([]string, error) |
| 310 | |
| 311 | // Path in the bindata to use. |
| 312 | Dir string |
| 313 | } |
| 314 | |
| 315 | var _ MigrationSource = (*AssetMigrationSource)(nil) |
| 316 |
nothing calls this directly
no outgoing calls
no test coverage detected