Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Migration ¶
func NewMigration ¶
func NewMigration(entry *movabletype.Entry, outputDirRoot string) Migration
type MigrationImpl ¶
type MigrationImpl struct {
// contains filtered or unexported fields
}
func (*MigrationImpl) Execute ¶
func (s *MigrationImpl) Execute() error
func (*MigrationImpl) OutputFilePath ¶
func (s *MigrationImpl) OutputFilePath() string
type MockMovableType ¶
type MockMovableType struct {
// contains filtered or unexported fields
}
MockMovableType is a mock of MovableType interface
func NewMockMovableType ¶
func NewMockMovableType(ctrl *gomock.Controller) *MockMovableType
NewMockMovableType creates a new mock instance
func (*MockMovableType) EXPECT ¶
func (_m *MockMovableType) EXPECT() *MockMovableTypeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMovableType) Parse ¶
func (_m *MockMovableType) Parse(path string) ([]*movabletype.Entry, error)
Parse mocks base method
type MockMovableTypeMockRecorder ¶
type MockMovableTypeMockRecorder struct {
// contains filtered or unexported fields
}
MockMovableTypeMockRecorder is the mock recorder for MockMovableType
func (*MockMovableTypeMockRecorder) Parse ¶
func (_mr *MockMovableTypeMockRecorder) Parse(arg0 interface{}) *gomock.Call
Parse indicates an expected call of Parse
type MovableType ¶
type MovableType interface {
Parse(path string) ([]*movabletype.Entry, error)
}
func NewMovableType ¶
func NewMovableType() MovableType
type MovableTypeImpl ¶
type MovableTypeImpl struct { }
func (*MovableTypeImpl) Parse ¶
func (s *MovableTypeImpl) Parse(path string) ([]*movabletype.Entry, error)
Click to show internal directories.
Click to hide internal directories.