go-x

module
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2026 License: MIT

README

go-x

This is an attempt to extend the golang builtin package with more utilities while improving the consistence of its interface.

Packages:

  • convx -- conversion utilities for primitive types. Replaces partially strconv.
  • dsx -- data structures like Heap, Queue, Stack, etc. with python-like interface and indexing. Replaces container/heap.
  • envx -- environment variable utilities, including loading as object. Replaces partially os.
  • fmtx -- formatting utilities and terminal colors. Uses the formatting variation for print as default. Replaces fmt.
  • fsx -- file system utilities. Replaces partially os, io/ioutil, filepath and more.
  • httpx -- http utilities. Replaces partially net/http.
  • iterx -- iterator utilities.
  • jsonx -- json utilities. Replaces partially encoding/json.
  • mapx -- map utilities. Replaces maps.
  • mathx -- math utilities. Replaces math.
  • randx -- random utilities. Replaces math/rand.
  • runex -- runtime utilities. Replaces runes.
  • slicex -- slice utilities. Replaces slices.
  • strx -- string utilities. Adding lots of features, including tables and trees renderers. Replaces strings and partially unicode.
  • testx -- testing utilities.
  • timex -- time-based utilities, such as backoff and rate limiter functions.
  • yamlx -- same as jsonx, but using goccy/go-yaml.

Directories

Path Synopsis
Package strx provides various string manipulation functions that are not included in the standard library's strings package.
Package strx provides various string manipulation functions that are not included in the standard library's strings package.
Package yamlx extends the goccy/go-yaml package with a set of helpers mirroring the interface of the jsonx package.
Package yamlx extends the goccy/go-yaml package with a set of helpers mirroring the interface of the jsonx package.

Jump to

Keyboard shortcuts

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