basic_utils

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 0 Imported by: 0

README

Tests Go Report Card

Basic Utils

This repository contains a collection of utility libraries implemented in Go, designed to assist in a variety of common programming tasks. Each module addresses a particular set of functions or data structures.

Minimum Go Version Requirement

To use or contribute to this project, you need to have at least Go 1.20 installed. This is due to the usage of features and packages introduced in this version.

Modules

  • array-utils: Utilities related to array manipulations and operations.

  • async-utils: Utilities that help to organize async operations.

  • map-utils: Helper functions for working with maps in Go.

  • math-utils: Mathematical utilities and helpers.

  • number: Versatile numeric representation.

  • opt: Optional type implementations, which may hold a value or represent the absence of one.

  • queue: Implements both a FIFO (First-In-First-Out) queue and a priority queue with thread safety and various utility functions.

  • ref-utils: Utilities related to references.

  • vendor: Contains project dependencies.

Installation

Make sure you have Go installed on your machine. Then, use go get to install the package:

go get -u github.com/kordax/basic-utils

Usage

Each module can be imported individually based on your needs. For example, to use the queue library:

import "github.com/kordax/basic-utils/queue"

Then, refer to the individual documentation or code comments of each module for specific usage patterns.

Static Analysis

The repository also includes a staticcheck.conf file, indicating that it might be set up to use the staticcheck tool for static code analysis. Run staticcheck in the root directory to perform a code quality check.

Author

Developed by @kordax (Dmitry Morozov)

Valoru Software

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Float

type Float interface {
	~float32 | ~float64
}

type Numeric

type Numeric interface {
	~int | ~int8 | ~int16 | ~int32 | ~int64 | ~uint | ~uint8 | ~uint16 | ~uint32 | ~uint64 | ~float32 | ~float64
}

type SignedNumeric

type SignedNumeric interface {
	~int | ~int8 | ~int16 | ~int32 | ~int64 | ~float32 | ~float64
}

Directories

Path Synopsis
file-utils module
str-utils module

Jump to

Keyboard shortcuts

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