Documentation ¶
Overview ¶
Package config is a generated GoMock package.
Index ¶
Constants ¶
View Source
const ( ConfigFileName = ".gotouch" PropertiesUrlAddress = "https://raw.githubusercontent.com/denizgursoy/go-touch-projects/main/package.yaml" )
View Source
const (
URL = "url"
)
Variables ¶
View Source
var ConfigurableSettings = []string{URL}
Functions ¶
func GetFileName ¶
Types ¶
type ConfigManager ¶
type ConfigManager interface { SetValueOf(key, value string) error UnsetValuesOf(key string) error GetDefaultPath() (string, error) }
func NewConfigManager ¶
func NewConfigManager(logger logger.Logger) ConfigManager
type MockConfigManager ¶
type MockConfigManager struct {
// contains filtered or unexported fields
}
MockConfigManager is a mock of ConfigManager interface.
func NewMockConfigManager ¶
func NewMockConfigManager(ctrl *gomock.Controller) *MockConfigManager
NewMockConfigManager creates a new mock instance.
func (*MockConfigManager) EXPECT ¶
func (m *MockConfigManager) EXPECT() *MockConfigManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConfigManager) GetDefaultPath ¶
func (m *MockConfigManager) GetDefaultPath() (string, error)
GetDefaultPath mocks base method.
func (*MockConfigManager) SetValueOf ¶
func (m *MockConfigManager) SetValueOf(key, value string) error
SetValueOf mocks base method.
func (*MockConfigManager) UnsetValuesOf ¶
func (m *MockConfigManager) UnsetValuesOf(key string) error
UnsetValuesOf mocks base method.
type MockConfigManagerMockRecorder ¶
type MockConfigManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockConfigManagerMockRecorder is the mock recorder for MockConfigManager.
func (*MockConfigManagerMockRecorder) GetDefaultPath ¶
func (mr *MockConfigManagerMockRecorder) GetDefaultPath() *gomock.Call
GetDefaultPath indicates an expected call of GetDefaultPath.
func (*MockConfigManagerMockRecorder) SetValueOf ¶
func (mr *MockConfigManagerMockRecorder) SetValueOf(key, value interface{}) *gomock.Call
SetValueOf indicates an expected call of SetValueOf.
func (*MockConfigManagerMockRecorder) UnsetValuesOf ¶
func (mr *MockConfigManagerMockRecorder) UnsetValuesOf(key interface{}) *gomock.Call
UnsetValuesOf indicates an expected call of UnsetValuesOf.
Click to show internal directories.
Click to hide internal directories.