store

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package store is a generated GoMock package.

Index

Constants

View Source
const (
	ModuleName       = "ModuleName"
	ProjectName      = "ProjectName"
	WorkingDirectory = "WorkingDirectory"
	ProjectFullPath  = "ProjectFullPath"
)

Variables

View Source
var (
	QuestionValues = map[string]interface{}{}
)

Functions

This section is empty.

Types

type MockStore

type MockStore struct {
	// contains filtered or unexported fields
}

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStore) GetStoreValues

func (m *MockStore) GetStoreValues() map[string]interface{}

GetStoreValues mocks base method.

func (*MockStore) GetValue

func (m *MockStore) GetValue(key string) string

GetValue mocks base method.

func (*MockStore) SetValue

func (m *MockStore) SetValue(key, value string)

SetValue mocks base method.

func (*MockStore) StoreValues

func (m *MockStore) StoreValues(key map[string]interface{})

StoreValues mocks base method.

type MockStoreMockRecorder

type MockStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) GetStoreValues

func (mr *MockStoreMockRecorder) GetStoreValues() *gomock.Call

GetStoreValues indicates an expected call of GetStoreValues.

func (*MockStoreMockRecorder) GetValue

func (mr *MockStoreMockRecorder) GetValue(key interface{}) *gomock.Call

GetValue indicates an expected call of GetValue.

func (*MockStoreMockRecorder) SetValue

func (mr *MockStoreMockRecorder) SetValue(key, value interface{}) *gomock.Call

SetValue indicates an expected call of SetValue.

func (*MockStoreMockRecorder) StoreValues

func (mr *MockStoreMockRecorder) StoreValues(key interface{}) *gomock.Call

StoreValues indicates an expected call of StoreValues.

type Store

type Store interface {
	SetValue(key, value string)
	GetValue(key string) string
	StoreValues(key map[string]interface{})
	GetStoreValues() map[string]interface{}
}

func GetInstance

func GetInstance() Store

Jump to

Keyboard shortcuts

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