helpers

package
v0.0.0-...-f253465 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustReadFile

func MustReadFile(file string) []byte

func PrintCSV

func PrintCSV(obj interface{}) error

func PrintFormat

func PrintFormat(obj interface{}, format string) error

func PrintInfo

func PrintInfo()

PrintInfo print Info

func PrintJSON

func PrintJSON(obj interface{}) error

func PrintYAML

func PrintYAML(obj interface{}) error

func PrivateKeyPath

func PrivateKeyPath() string

func Root

func Root() (string, error)

func SetLogLevel

func SetLogLevel(loglevelString string)

SetLogLevel sets the log level for logrus by string; possible values are debug, error, fatal, panic, info, trace

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳