z

package
v0.3.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	Debug   = Mode("debug")
	Test    = Mode("test")
	Release = Mode("release")
)

Variables

This section is empty.

Functions

func DebugMode

func DebugMode() bool

func Must

func Must(err error, args ...any)

Abort: main.main

  • Location:/root/github/go-tools/xlog/example/log.go:34 +0x48e649
  • Detail: xxx 123

func Mustf

func Mustf(err error, format string, args ...any)

func ReleaseMode

func ReleaseMode() bool

func SetMode

func SetMode(m Mode)

func TestMode

func TestMode() bool

Types

type Mode

type Mode string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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