Module Overview
LazyGophers Utils provides 20+ specialized modules covering all aspects of Go development. All modules are organized by category for easy navigation.
🔧 Core Utilities
Basic utility modules providing error handling, database operations, and data validation.
- must - Error assertion utilities
- orm - Database operation utilities
- validator - Data validation module
🍭 Data Processing
Provides type conversion, JSON processing, string operations, and other data processing utilities.
- candy - Type conversion sugar (zero allocation, 3.2x faster)
- json - Enhanced JSON handling
- stringx - String utilities
- anyx - Interface{} helpers
📦 Cache
Provides multiple cache implementations with different eviction strategies for various use cases.
- LRU - Most commonly used cache strategy (85% hit rate)
- LFU - Evicts least frequently used items (75% hit rate)
- TinyLFU - High performance cache combining LRU and LFU (92% hit rate)
- SLRU - Segmented LRU for high concurrency (90% hit rate)
- More Cache Implementations - View all 10+ cache implementations
⏰ Time & Scheduling
Advanced time processing, work schedule calculations, and scheduling utilities.
- xtime - Advanced time processing (🌙 Lunar, 🐲 Zodiac, 🌾 Solar Terms)
- xtime996 - 996 work schedule
- xtime955 - 955 work schedule
- xtime007 - 24/7 operations
🔧 System & Configuration
Configuration management, runtime information, OS operations, and other system-level utilities.
- config - Configuration management (JSON, YAML, TOML, INI, HCL)
- runtime - Runtime information
- osx - OS operations
- app - Application framework
- atexit - Graceful shutdown
🌐 Network & Security
HTTP utilities, cryptographic functions, PGP operations, and other network and security tools.
- network - HTTP utilities (connection pooling, retry logic)
- cryptox - Cryptographic functions (hashing, encryption, secure random)
- pgp - PGP operations
- urlx - URL manipulation
🚀 Concurrency & Control Flow
Goroutine management, flow control, circuit breakers, and other concurrency and flow control utilities.
- routine - Goroutine management (worker pools, task scheduling)
- wait - Flow control (timeout, retry, rate limiting)
- hystrix - Circuit breaker (fault tolerance, graceful degradation)
- singledo - Singleton execution
- event - Event system (pub/sub)
🧪 Development & Testing
Test data generation, random utilities, default values, and other development and testing utilities.
- fake - Test data generation
- randx - Random utilities (cryptographically secure)
- defaults - Default values
- pyroscope - Performance profiling
📊 Performance Highlights
Next Steps
- View API Documentation for detailed API information
- View Getting Started to start using
- Visit GitHub Repository for more examples