Help us shape the future of Go! Take the 2026 Go Developer Survey

utils

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package utils provides common utilities shared across packages

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Debug(format string, args ...interface{})
	Info(format string, args ...interface{})
	Warn(format string, args ...interface{})
	Error(format string, args ...interface{})
}

Logger defines a common logging interface used throughout the application

type NoopLogger

type NoopLogger struct{}

NoopLogger is a logger implementation that does nothing

func (NoopLogger) Debug

func (l NoopLogger) Debug(format string, args ...interface{})

func (NoopLogger) Error

func (l NoopLogger) Error(format string, args ...interface{})

func (NoopLogger) Info

func (l NoopLogger) Info(format string, args ...interface{})

func (NoopLogger) Warn

func (l NoopLogger) Warn(format string, args ...interface{})

Jump to

Keyboard shortcuts

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