From 2ee7091933d2c07338dfb4699ce5665951b47afd Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 16 Mar 2023 18:38:11 -0400 Subject: tree-wide: Ensure that all packages have a doc comment --- lib/profile/profile.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/profile') diff --git a/lib/profile/profile.go b/lib/profile/profile.go index 27c7e61..0910e5c 100644 --- a/lib/profile/profile.go +++ b/lib/profile/profile.go @@ -2,6 +2,8 @@ // // SPDX-License-Identifier: GPL-2.0-or-later +// Package profile implements a uniform interface for getting +// profiling information from the Go runtime. package profile import ( -- cgit v1.2.3-2-g168b From 1ea26f04701fa66e36b058f3efb3a6c7059cdc5c Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 17 Mar 2023 02:28:54 -0400 Subject: tree-wide: Turn on all revive linters (with exceptions) --- lib/profile/cobra.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/profile') diff --git a/lib/profile/cobra.go b/lib/profile/cobra.go index 3094015..9bc55dd 100644 --- a/lib/profile/cobra.go +++ b/lib/profile/cobra.go @@ -67,7 +67,7 @@ func (fv *flagValue) Set(filename string) error { } // Type implements pflag.Value. -func (fv *flagValue) Type() string { return "filename" } +func (*flagValue) Type() string { return "filename" } func pStart(name string) startFunc { return func(w io.Writer) (StopFunc, error) { -- cgit v1.2.3-2-g168b