mocks

package
v1.0.0-base Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CounterUseCase

type CounterUseCase struct {
	mock.Mock
}

func (*CounterUseCase) Execute

func (m *CounterUseCase) Execute() (int, error)

type Logger

type Logger struct {
	mock.Mock
}

func (*Logger) Debug

func (m *Logger) Debug(msg string, tags map[string]interface{})

func (*Logger) Error

func (m *Logger) Error(msg string, err error, tags map[string]interface{})

func (*Logger) Info

func (m *Logger) Info(msg string, tags map[string]interface{})

func (*Logger) Instance

func (m *Logger) Instance() zerolog.Logger

func (*Logger) SetGlobalValue

func (m *Logger) SetGlobalValue(key string, value any)

func (*Logger) Trace

func (m *Logger) Trace(msg string, tags map[string]interface{})

func (*Logger) Warn

func (m *Logger) Warn(msg string, tags map[string]interface{})

Jump to

Keyboard shortcuts

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