Documentation
¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: ./commander.go
Generated by this command:
mockgen -package=executor -source=./commander.go -destination=./commander_mock.go
Package executor is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: ./filer.go
Generated by this command:
mockgen -package=executor -source=./filer.go -destination=./filer_mock.go
Package executor is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: ./import_path_resolver.go
Generated by this command:
mockgen -package=executor -source=./import_path_resolver.go -destination=./import_path_resolver_mock.go
Package executor is a generated GoMock package.
Index ¶
Constants ¶
const GO_MOD_FILE_NAME = "go.mod"
const GO_MOD_FILE_PERMISSION = 0644
const GO_MOD_NAME = "gonsole_session_src"
const GO_SUM_FILE_NAME = "go.sum"
const SESSION_SRC_DIR_PERMISSION = 0755
const SESSION_SRC_FILE_PATH = "gonsole_session_src/session_src.go"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
Executor はREPLセッション内でのコード実行を担う go-promptのExecutorインターフェースを実装する
func NewExecutor ¶
func NewExecutor(declRegistry *declregistry.DeclRegistry, symbolIndex *symbols.SymbolIndex) (*Executor, error)
NewExecutor はExecutorのインスタンスを生成する
type Mockcommander ¶
type Mockcommander struct {
// contains filtered or unexported fields
}
Mockcommander is a mock of commander interface.
func NewMockcommander ¶
func NewMockcommander(ctrl *gomock.Controller) *Mockcommander
NewMockcommander creates a new mock instance.
func (*Mockcommander) EXPECT ¶
func (m *Mockcommander) EXPECT() *MockcommanderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockcommanderMockRecorder ¶
type MockcommanderMockRecorder struct {
// contains filtered or unexported fields
}
MockcommanderMockRecorder is the mock recorder for Mockcommander.
type Mockfiler ¶
type Mockfiler struct {
// contains filtered or unexported fields
}
Mockfiler is a mock of filer interface.
func NewMockfiler ¶
func NewMockfiler(ctrl *gomock.Controller) *Mockfiler
NewMockfiler creates a new mock instance.
func (*Mockfiler) EXPECT ¶
func (m *Mockfiler) EXPECT() *MockfilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockfilerMockRecorder ¶
type MockfilerMockRecorder struct {
// contains filtered or unexported fields
}
MockfilerMockRecorder is the mock recorder for Mockfiler.
type MockimportPathResolver ¶
type MockimportPathResolver struct {
// contains filtered or unexported fields
}
MockimportPathResolver is a mock of importPathResolver interface.
func NewMockimportPathResolver ¶
func NewMockimportPathResolver(ctrl *gomock.Controller) *MockimportPathResolver
NewMockimportPathResolver creates a new mock instance.
func (*MockimportPathResolver) EXPECT ¶
func (m *MockimportPathResolver) EXPECT() *MockimportPathResolverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockimportPathResolverMockRecorder ¶
type MockimportPathResolverMockRecorder struct {
// contains filtered or unexported fields
}
MockimportPathResolverMockRecorder is the mock recorder for MockimportPathResolver.