From 49e6369fe732c0f81e5b03b36e345afbf3c79a15 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 24 Jul 2024 12:08:49 +0200 Subject: pkg/stat: rename package name to singular form Go package names should generally be singular form: https://go.dev/blog/package-names https://rakyll.org/style-packages https://groups.google.com/g/golang-nuts/c/buBwLar1gNw --- pkg/flatrpc/conn.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'pkg/flatrpc') diff --git a/pkg/flatrpc/conn.go b/pkg/flatrpc/conn.go index 0658522a0..c5e1cb1a4 100644 --- a/pkg/flatrpc/conn.go +++ b/pkg/flatrpc/conn.go @@ -15,14 +15,14 @@ import ( "github.com/google/flatbuffers/go" "github.com/google/syzkaller/pkg/log" - "github.com/google/syzkaller/pkg/stats" + "github.com/google/syzkaller/pkg/stat" ) var ( - statSent = stats.New("rpc sent", "Outbound RPC traffic", - stats.Graph("traffic"), stats.Rate{}, stats.FormatMB) - statRecv = stats.New("rpc recv", "Inbound RPC traffic", - stats.Graph("traffic"), stats.Rate{}, stats.FormatMB) + statSent = stat.New("rpc sent", "Outbound RPC traffic", + stat.Graph("traffic"), stat.Rate{}, stat.FormatMB) + statRecv = stat.New("rpc recv", "Inbound RPC traffic", + stat.Graph("traffic"), stat.Rate{}, stat.FormatMB) ) type Serv struct { -- cgit mrf-deployment