Utils is a lightweight, flexible, and reusable library that provides utility functions and helpers for common operations in Go applications. It includes packages for boolean conversions, context value handling, map operations, slice utilities, string manipulations, struct comparisons, and more—enhancing Go projects with optimized, clean, and practical solutions.
Prerequisites
Go: The project is written in Golang. Ensure you have Go installed (preferably Go 1.24 or later). You can download it here.
Git: Required for cloning the repository.
Installation
To use Utils in your project, add it as a module dependency:
Install the Package
go get github.com/kashifkhan0771/utils
Alternatively, include it directly in your go.mod file (use the latest release):
require github.com/kashifkhan0771/utils v0.3.0
Clone the Repository (For Development)
If you want to contribute or modify the library, clone the repository:
git clone https://github.com/kashifkhan0771/utils.git
cd utils
Package logging provides a simple logging library with support for multiple log levels, custom prefixes, colored output, and customizable output streams.
Package logging provides a simple logging library with support for multiple log levels, custom prefixes, colored output, and customizable output streams.