utils

package
v0.0.0-...-fcc1859 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogState

type LogState int
const (
	Default LogState = iota
	Info
	Debug
	Warning
	Error
	Fatal
)

type Logger

type Logger struct{}

func Log

func Log() *Logger

func (*Logger) Error

func (l *Logger) Error(message ...any)

type StringUtilities

type StringUtilities struct{}

func String

func String() *StringUtilities

func (*StringUtilities) Replacer

func (s *StringUtilities) Replacer(base string, replacements []string) string

func (*StringUtilities) Stringify

func (s *StringUtilities) Stringify(item any) string

Jump to

Keyboard shortcuts

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