utilgo

module
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2026 License: MIT

README

utilgo

A collection of utilities, helpers, and tools that I use to save coding time and space :)

  • api
  • pkg
    • [?] cli
    • cmdutil - but maybe relocate
    • errs
    • fsutil
    • graphutil
    • hexutil
    • httputils
    • logs
    • maputil
    • mathutil
    • randutil
    • reflectutil
    • serialization
    • sets
    • sliceutil
    • stringutil
    • timeutil
    • tmplz

Directories

Path Synopsis
Package api defines interfaces implemented by library structs and common types.
Package api defines interfaces implemented by library structs and common types.
pkg
cli/cmds
Package cmds defines interfaces and types for flags and commands.
Package cmds defines interfaces and types for flags and commands.
cli/flagutil
Package flagutil introduces supplementary flag.Value implementations for utilization with the go's pkg/flag package or pkg/github.com/toolvox/utilgo/pkg/cli/cmds package.
Package flagutil introduces supplementary flag.Value implementations for utilization with the go's pkg/flag package or pkg/github.com/toolvox/utilgo/pkg/cli/cmds package.
cli/lexer
Package lexer contains FlagTokenizer which parses args/actions
Package lexer contains FlagTokenizer which parses args/actions
cmdutil
Package cmdutil provides helpers and utilities for cmd apps.
Package cmdutil provides helpers and utilities for cmd apps.
errs
Package errs provides an error and validation helpers.
Package errs provides an error and validation helpers.
fsutil
Package fsutil provides helpers and utilities for working with Files and FileSystems.
Package fsutil provides helpers and utilities for working with Files and FileSystems.
logs
Package logs provides a simplified interface for creating and configuring loggers with support for custom logging options.
Package logs provides a simplified interface for creating and configuring loggers with support for custom logging options.
logs/handlers
Package handlers provides log handling mechanisms for various logging scenarios.
Package handlers provides log handling mechanisms for various logging scenarios.
maputil
Package maputil provides utilities and helpers for scenarios not covered by the pkg/maps package.
Package maputil provides utilities and helpers for scenarios not covered by the pkg/maps package.
randutil
Package randutil provides various random-related helpers and utilities.
Package randutil provides various random-related helpers and utilities.
reflectutil
Package reflectutil provides reflection related helpers and helpers that heavily rely on reflections.
Package reflectutil provides reflection related helpers and helpers that heavily rely on reflections.
serialization
Package serialization provides helpers for YAML & JSON formats
Package serialization provides helpers for YAML & JSON formats
serialization/json
Package json provides generated helper methods for working with JSON files.
Package json provides generated helper methods for working with JSON files.
serialization/yaml
Package yaml provides generated helper methods for working with YAML files.
Package yaml provides generated helper methods for working with YAML files.
sets
Package sets provides several implementation of a Set and related helpers.
Package sets provides several implementation of a Set and related helpers.
sliceutil
Package sliceutil provides utilities for slicing operations and analyses in Go.
Package sliceutil provides utilities for slicing operations and analyses in Go.
stringutil
Package stringutil provides utilities for string manipulation, focusing on operations with runes and bytes for Unicode strings.
Package stringutil provides utilities for string manipulation, focusing on operations with runes and bytes for Unicode strings.
timeutil
Package timeutil provides helpers for working with pkg/time.Time.
Package timeutil provides helpers for working with pkg/time.Time.
tmplz
Package tmplz provides a templating engine with nested variables and dynamic variable assignment.
Package tmplz provides a templating engine with nested variables and dynamic variable assignment.
Package test holds testing helpers.
Package test holds testing helpers.

Jump to

Keyboard shortcuts

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