From 803cea9d67aafde4509e9384dfb9da26aa483298 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 18 Aug 2021 16:44:20 +0300 Subject: [PATCH] Don't use underscores in variable names --- load/load_linux.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/load/load_linux.go b/load/load_linux.go index 0859397..2a1c5ea 100644 --- a/load/load_linux.go +++ b/load/load_linux.go @@ -31,11 +31,11 @@ func sysinfoAvgWithContext(ctx context.Context) (*AvgStat, error) { return nil, err } - const si_load_shift = 16 + const siLoadShift = 16 return &AvgStat{ - Load1: float64(info.Loads[0]) / float64(1<