mirror of
https://github.com/samsonjs/vibetunnel.git
synced 2026-03-26 09:35:52 +00:00
- Run go fmt on all Go files (10 files formatted) - Fix 50+ errcheck issues by adding proper error handling - Fix 3 staticcheck issues (empty branches, error string capitalization) - Remove 2 unused struct fields - Install and configure golangci-lint v2.1.6 for Go 1.24 compatibility - All linting now passes with 0 issues 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <noreply@anthropic.com>
13 lines
235 B
Go
13 lines
235 B
Go
package session
|
|
|
|
import (
|
|
"log"
|
|
"os"
|
|
)
|
|
|
|
// debugLog logs debug messages only if VIBETUNNEL_DEBUG is set
|
|
func debugLog(format string, args ...interface{}) {
|
|
if os.Getenv("VIBETUNNEL_DEBUG") != "" {
|
|
log.Printf(format, args...)
|
|
}
|
|
}
|