mirror of
https://github.com/woodchen-ink/random-api-go.git
synced 2025-07-18 13:52:02 +08:00
- Removed the obsolete formatLatency function from metrics.go to simplify the codebase. - Updated the HTML to utilize the new latency formatting method, ensuring consistent display of average latency metrics. - Enhanced the LogRequest function to accurately calculate and update average latency based on request counts, improving metrics accuracy.