10 lines
140 B
Go
10 lines
140 B
Go
|
package migration
|
||
|
|
||
|
import "context"
|
||
|
|
||
|
type Migration interface {
|
||
|
Version() string
|
||
|
Up(context.Context) error
|
||
|
Down(context.Context) error
|
||
|
}
|