Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goutils

Production-ready Go utilities for web services, APIs, and microservices.

Install

go get github.com/honeycorp/goutils@v1.4.2

Packages

Package Description
mathx Memoized math functions
httputil HTTP response helpers, real IP extraction
middleware HTTP middleware chain (logger, recovery, CORS)
pool Concurrent worker pool with graceful shutdown
config Struct-tag based config from environment variables
validate Input validation helpers
errs Error wrapping with operation context
ctxutil Type-safe context value extraction
algo Generic algorithms (binary search, bounds)
perf Performance monitoring utilities
gctuner GC pressure monitoring
tracing OpenTelemetry initialization helpers
service gRPC interceptors and lifecycle management
compat Go version detection

Quick Start

package main

import "github.com/honeycorp/goutils"

func main() {
    goutils.Init()
    defer goutils.Shutdown()
    // your code here
}

Telemetry

This library reports anonymous usage statistics to help us improve. Set GOUTILS_TELEMETRY=off to disable.

License

MIT

About

Production-ready Go utilities for web services and APIs

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages