From 8678610683b32c655a7a27cd7661a28027374eed Mon Sep 17 00:00:00 2001 From: terence tsao Date: Wed, 22 Sep 2021 15:38:06 -0700 Subject: [PATCH] Update package name comments (#9653) --- async/every.go | 2 +- async/scatter.go | 2 -- beacon-chain/core/transition/state.go | 3 --- network/external_ip.go | 2 +- runtime/service_registry.go | 2 +- time/slots/slotticker.go | 2 +- time/utils.go | 2 +- 7 files changed, 5 insertions(+), 10 deletions(-) diff --git a/async/every.go b/async/every.go index f77cafa2c..4e732cf4a 100644 --- a/async/every.go +++ b/async/every.go @@ -1,4 +1,4 @@ -// Package runutil includes helpers for scheduling runnable, periodic functions. +// Package async includes helpers for scheduling runnable, periodic functions and contains useful helpers for converting multi-processor computation. package async import ( diff --git a/async/scatter.go b/async/scatter.go index fe0d587cd..faafcb72d 100644 --- a/async/scatter.go +++ b/async/scatter.go @@ -1,5 +1,3 @@ -// Package mputil contains useful helpers for converting -// multi-processor computation. package async import ( diff --git a/beacon-chain/core/transition/state.go b/beacon-chain/core/transition/state.go index b78841a30..993727a81 100644 --- a/beacon-chain/core/transition/state.go +++ b/beacon-chain/core/transition/state.go @@ -1,6 +1,3 @@ -// Package state implements the whole state transition -// function which consists of per slot, per-epoch transitions, and -// bootstrapping the genesis state according to the Ethereum Beacon chain spec. package transition import ( diff --git a/network/external_ip.go b/network/external_ip.go index e6cfc1ddb..3bfb98549 100644 --- a/network/external_ip.go +++ b/network/external_ip.go @@ -1,4 +1,4 @@ -// Package iputils contains useful functions for ip address formatting. +// Package network contains useful functions for ip address formatting. package network import ( diff --git a/runtime/service_registry.go b/runtime/service_registry.go index 5696d6060..29ba85611 100644 --- a/runtime/service_registry.go +++ b/runtime/service_registry.go @@ -1,4 +1,4 @@ -// Package shared includes useful utilities globally accessible in +// Package runtime includes useful utilities globally accessible in // the Prysm monorepo. package runtime diff --git a/time/slots/slotticker.go b/time/slots/slotticker.go index 013e05bff..06e5b189c 100644 --- a/time/slots/slotticker.go +++ b/time/slots/slotticker.go @@ -1,4 +1,4 @@ -// Package slotutil includes ticker and timer-related functions for Ethereum consensus. +// Package slots includes ticker and timer-related functions for Ethereum consensus. package slots import ( diff --git a/time/utils.go b/time/utils.go index 8e15d27e8..837b28823 100644 --- a/time/utils.go +++ b/time/utils.go @@ -1,4 +1,4 @@ -// Package timeutils is a wrapper around the go standard time library. +// Package time is a wrapper around the go standard time library. package time import (