service

package
v0.0.0-...-e0e4783 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Migration

type Migration interface {
	Execute() error
	OutputFilePath() string
}

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

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL