14 lines
244 B
Go
14 lines
244 B
Go
|
package keeper
|
||
|
|
||
|
// Migrator is a struct for handling in-place store migrations.
|
||
|
type Migrator struct {
|
||
|
keeper Keeper
|
||
|
}
|
||
|
|
||
|
// NewMigrator returns a new Migrator.
|
||
|
func NewMigrator(keeper Keeper) Migrator {
|
||
|
return Migrator{
|
||
|
keeper: keeper,
|
||
|
}
|
||
|
}
|