gcontainer

module
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: MIT

README

Golang container data types implemented with generics support

Most implementations and tests is copied from goframe.

Since goframe has too many third-party dependencies and only supports go version 1.15, I decided to separate the implementation of containers from the goframe project into this gcontainer project, and successfully achieved zero dependencies.

Directories

Path Synopsis
g
Package gset provides kinds of concurrent-safe/unsafe sets.
Package gset provides kinds of concurrent-safe/unsafe sets.
Package gpool provides object-reusable concurrent-safe pool.
Package gpool provides object-reusable concurrent-safe pool.
Package gqueue provides dynamic/static concurrent-safe queue.
Package gqueue provides dynamic/static concurrent-safe queue.
Package gring provides a concurrent-safe/unsafe ring(circular lists).
Package gring provides a concurrent-safe/unsafe ring(circular lists).
Package gtimer implements timer for interval/delayed jobs running and management.
Package gtimer implements timer for interval/delayed jobs running and management.
Package gtype provides high performance and concurrent-safe basic variable types.
Package gtype provides high performance and concurrent-safe basic variable types.
internal
command
Package command provides console operations, like options/arguments reading.
Package command provides console operations, like options/arguments reading.
deepcopy
Package deepcopy makes deep copies of things using reflection.
Package deepcopy makes deep copies of things using reflection.
gdebug
Package gdebug contains facilities for programs to debug themselves while they are running.
Package gdebug contains facilities for programs to debug themselves while they are running.
gtest
Package gtest provides convenient test utilities for unit testing.
Package gtest provides convenient test utilities for unit testing.
json
Package json provides json operations wrapping ignoring stdlib or third-party lib json.
Package json provides json operations wrapping ignoring stdlib or third-party lib json.
reflection
Package reflection provides some reflection functions for internal usage.
Package reflection provides some reflection functions for internal usage.
rwmutex
Package rwmutex provides switch of concurrent safety feature for sync.RWMutex.
Package rwmutex provides switch of concurrent safety feature for sync.RWMutex.
utils
Package utils provides some utility functions for internal usage.
Package utils provides some utility functions for internal usage.
utils
empty
Package empty provides functions for checking empty/nil variables.
Package empty provides functions for checking empty/nil variables.
gbinary
Package gbinary provides useful API for handling binary/bytes data.
Package gbinary provides useful API for handling binary/bytes data.
gconv
Package gconv implements powerful and convenient converting functionality for any types of variables.
Package gconv implements powerful and convenient converting functionality for any types of variables.
grand
Package grand provides high performance random bytes/number/string generation functionality.
Package grand provides high performance random bytes/number/string generation functionality.
gregex
Package gregex provides high performance API for regular expression functionality.
Package gregex provides high performance API for regular expression functionality.
gstr
Package gstr provides functions for string handling.
Package gstr provides functions for string handling.

Jump to

Keyboard shortcuts

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