diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-07-24 12:08:49 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-07-24 14:39:45 +0000 |
| commit | 49e6369fe732c0f81e5b03b36e345afbf3c79a15 (patch) | |
| tree | 651e322e41a8084abd6f2c80e4f9b7ff50a1dfe9 /pkg/flatrpc | |
| parent | 1f032c27c8158e44723253179928104813d45cdc (diff) | |
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
Diffstat (limited to 'pkg/flatrpc')
| -rw-r--r-- | pkg/flatrpc/conn.go | 10 |
1 files changed, 5 insertions, 5 deletions
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 { |
