tools

package
v0.0.0-...-7363524 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Banner() string

func BulkLoadINI

func BulkLoadINI(filelocation string) (*ini.File, error)

func DefaultInt

func DefaultInt(a, b int) int

func DefaultString

func DefaultString(a, b string) string

func DefaultValue

func DefaultValue(a, b interface{}) interface{}

func FileLinesCount

func FileLinesCount(filePath string) (int, error)

func LoadEnv

func LoadEnv(filename string)

func ParseEnvFile

func ParseEnvFile(filename string) (envArray []string)

func RoundFloat

func RoundFloat(val float64, precision uint) float64

func SingleLoadINI

func SingleLoadINI(filelocation string) (*ini.File, error)

func StrBool

func StrBool(word string) bool

func TextTemplate

func TextTemplate(s string, v interface{}) string

func ZapLogger

func ZapLogger(storeOption string) *zap.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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