internal

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FixMap

func FixMap(m map[any]any) map[string]any

Convert map key type to string

func Must

func Must[T any](v T, err error) T

func PathExists

func PathExists(path string) bool

func PrintJSON

func PrintJSON(v interface{})

Types

type SimpleLogger added in v0.1.1

type SimpleLogger struct{}

func (*SimpleLogger) Debug added in v0.1.1

func (s *SimpleLogger) Debug(args ...any)

func (*SimpleLogger) Error added in v0.1.1

func (s *SimpleLogger) Error(args ...any)

func (*SimpleLogger) Fatal added in v0.1.1

func (s *SimpleLogger) Fatal(args ...any)

func (*SimpleLogger) Info added in v0.1.1

func (s *SimpleLogger) Info(args ...any)

func (*SimpleLogger) Warn added in v0.1.1

func (s *SimpleLogger) Warn(args ...any)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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