xstd

module
v0.0.0-...-9d022b6 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2025 License: Apache-2.0

README

xstd

A collection of generic helpers for Go, extending the standard library with a focus on modern Go features like generics and iterators.

Go Reference

Installation

go get spheric.cloud/xstd

Packages

This repository is organized into the following packages:

constraints

Provides a collection of useful type constraints for generic programming.

container/hashmap

A generic hash map implementation.

container/list

A generic doubly-linked list implementation.

container/squeue

A generic sequential queue implementation.

funcs

Provides a collection of generic function adapters and helpers.

gen

Contains code generation tools for the repository.

iters

Provides a rich set of helpers and adapters for working with Go's new iterators (iter.Seq).

maps

Contains generic functions for working with maps.

net/http

Provides helpers and utilities for the net/http package.

ptrs

A collection of utility functions for working with pointers.

set

A generic set implementation.

sets

Contains generic functions for working with sets.

slices

Provides generic functions for working with slices.

strings

Contains helper functions for working with strings.

License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

Directories

Path Synopsis
Package constraints defines a set of useful constraints to be used with type parameters.
Package constraints defines a set of useful constraints to be used with type parameters.
container
list
Package list is a generic and thus type-safe version of golang's container/list.
Package list is a generic and thus type-safe version of golang's container/list.
Package maps defines various functions useful with maps of any type.
Package maps defines various functions useful with maps of any type.
net
http
Package http provides HTTP client and server implementations.
Package http provides HTTP client and server implementations.
Package ptrs provides utility functions for working with pointers.
Package ptrs provides utility functions for working with pointers.
Package sets provides utility functions for working with sets.
Package sets provides utility functions for working with sets.
Package slices defines various functions useful with slices of any type.
Package slices defines various functions useful with slices of any type.
Package strings implements simple functions to manipulate UTF-8 encoded strings.
Package strings implements simple functions to manipulate UTF-8 encoded strings.

Jump to

Keyboard shortcuts

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