common

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package common contains commonly used functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Repr

func Repr(model any) string

Repr returns the name of the given model.

This can be used to print out the model name.

func SetupLogger

func SetupLogger()

SetupLogger sets up the logging for the application.

The log level can be defined as the string "DEBUG", "INFO", "WARN", "ERROR", "CRITICAL" in the configuration file. E.g. "LogLevel": "INFO". Defaults to "DEBUG".

Types

This section is empty.

Jump to

Keyboard shortcuts

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