Skip to content
/ xox Public

This package is for personal use by seefs. Use at your own risk. The author takes no responsibility for any issues arising from its usage and will not provide support or bug fixes for external users.

Notifications You must be signed in to change notification settings

seefs001/xox

Repository files navigation

Warning

This package is for personal use by seefs. Use at your own risk. The author takes no responsibility for any issues arising from its usage and will not provide support or bug fixes for external users.

Caution

By using this package, you acknowledge that you are doing so at your own risk and without any expectation of support or maintenance from the author.

xox 🧰

xox is a comprehensive Golang utility package that aggregates multiple sub-packages, each designed to provide specific functionalities without introducing third-party dependencies. Inspired by various sources, xox aims to streamline everyday development tasks with clean and efficient solutions.

Features 🌟

  • No third-party dependencies: All functionalities are implemented using the Golang standard library.
  • Lightweight: Includes only the most commonly used and practical utility functions.
  • Easy to use: Clean API design for seamless integration into existing projects.
  • Continuous improvement: Constantly refined and expanded based on real-world usage.

Packages 📦

Package Description Status Example Test File Documentation
x Core utility methods for various workflows 🚧 Working Test Docs
xai AI-related functionalities 🚧 Alpha Example 🚧 To be added Docs
xcast Type conversion utilities 🚧 Alpha Test Docs
xcli CLI application building tools 🚧 Alpha Example 🚧 To be added Docs
xcolor Color-related utilities 🚧 Alpha 🚧 To be added Docs
xconfig Configuration management 🚧 Alpha Test Docs
xd Dependency injection 🚧 Alpha Test Docs
xenv Environment variable handling 🚧 Alpha 🚧 To be added Docs
xerror Error handling and processing ⚠️ Known Issues Example Test Docs
xhttp HTTP server standard library helpers 🚧 Alpha Example 🚧 To be added Docs
xhttpc HTTP client standard library helpers 🚧 Alpha Test Docs
xjson JSON path data retrieval ⚠️ Known Issues Test Docs
xlog Logging utilities with various handlers 🚧 Alpha Example Test Docs
xmw Middleware for standard HTTP servers 🚧 Alpha Example Test Docs
xsb SQL builder for database interactions 🚧 Working Test Docs
xsched Task scheduling utilities 🚧 Working Example Test Docs
xsupabase Supabase integration 🚧 Alpha Example Test Docs
xtelebot Telegram bot API integration 🚧 Alpha Example 🚧 To be added Docs
xvalidator Data validation utilities ⚠️ Known Issues Test Docs
xtime Time handling utilities 🚧 Alpha Test Docs
xresend Go client for Resend API 🚧 Alpha Example Docs

Usage 🚀

To use xox and its sub-packages, follow these steps:

  1. Install the package using go get:

    go get github.com/seefs001/xox
    
  2. Import the desired sub-package in your Go code:

    import "github.com/seefs001/xox/x"
  3. Use the provided utilities as needed in your project.

Examples 📚

Each sub-package comes with its own set of examples demonstrating how to use its functionalities. You can find the examples in the examples/ directory of the repository.

Testing 🧪

Each sub-package includes unit tests to ensure functionality and reliability. Tests can be found alongside their respective packages.

To run all tests, navigate to the root directory and execute:

go test ./...

Contributing 🤝

While this package is primarily for personal use, contributions are welcome. Please ensure you follow the existing code style and include appropriate tests for any new functionality.

License 📄

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments 🙏

  • Inspired by various open-source projects and utility libraries in the Go ecosystem.

About

This package is for personal use by seefs. Use at your own risk. The author takes no responsibility for any issues arising from its usage and will not provide support or bug fixes for external users.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages